diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-10-31 11:08:21 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-11-09 17:20:40 +0100 |
commit | 200f5c49f7a2cd694436bfc6cb0662b794c96736 (patch) | |
tree | 9be52e5012e1d5a76703db44a516eb1d4241d5fe /tools/perf/scripts/python/export-to-sqlite.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions