diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-10-31 11:08:21 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-01 09:46:34 +0100 |
| commit | 385e1c3bbe57e13115153573747754ca39db80b0 (patch) | |
| tree | f52901678d25a104a3887bbd8ff7da74b677f754 /include/linux | |
| parent | 1d8016389d026c3291588b40be10b8441f1ef2d5 (diff) | |
can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
commit 200f5c49f7a2cd694436bfc6cb0662b794c96736 upstream.
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 <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
