summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorOld-Ding <[email protected]>2026-07-06 10:45:04 +0800
committerRbb666 <[email protected]>2026-07-08 14:02:42 +0800
commit9e2ab35e173afe07785f3f2fb1a2fdad54cd47a6 (patch)
treea03b2a7377660b60f8f6bbd84c6a3b997b02b04e /components
parentd2d89271ea794cb8d7fd900eb7246053ec7a7b94 (diff)
bsp: rockchip: Fix CAN-FD bit timing copy size
RT_CAN_CMD_SET_BITTIMING receives an array of struct rt_can_bit_timing entries. The Rockchip CAN-FD driver used sizeof(&timing->items[n]) when copying those entries, so only pointer-sized bytes were copied into the device configuration. Use the element size so both arbitration and data phase timing structures are copied completely. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions