aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2018-10-31 11:08:21 +0100
committerMarc Kleine-Budde <[email protected]>2018-11-09 17:20:40 +0100
commit200f5c49f7a2cd694436bfc6cb0662b794c96736 (patch)
tree9be52e5012e1d5a76703db44a516eb1d4241d5fe /include/linux/fpga/fpga-bridge.h
parenta4310fa2f24687888ce80fdb0e88583561a23700 (diff)
can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
This patch replaces the use of "struct can_frame::can_dlc" by "struct canfd_frame::len" to access the frame's length. As it is ensured that both structures have a compatible memory layout for this member this is no functional change. Futher, this compatibility is documented in a comment. Cc: linux-stable <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions