commit | 200f5c49f7a2cd694436bfc6cb0662b794c96736 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Oct 31 11:08:21 2018 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Nov 09 17:20:40 2018 +0100 |
tree | 9be52e5012e1d5a76703db44a516eb1d4241d5fe | |
parent | a4310fa2f24687888ce80fdb0e88583561a23700 [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 <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>