]> git.baikalelectronics.ru Git - kernel.git/commit
can: gw: use struct canfd_frame as internal data structure
authorOliver Hartkopp <socketcan@hartkopp.net>
Sat, 10 Aug 2019 19:18:09 +0000 (21:18 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 15:32:21 +0000 (17:32 +0200)
commit013986e7149d270ba6fc546155fd8d76c907606c
tree2d9e682898f8756e4871e31001736ab8f3cbe820
parentf4df5c245fe3f1d003f4b2a24cb51831c8f2e9cf
can: gw: use struct canfd_frame as internal data structure

To prepare the CAN FD support this patch implements the first adaptions in
data structures for CAN FD without changing the current functionality.

Additionally some code at the end of this patch is moved or indented to
simplify the review of the next implementation step.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/uapi/linux/can/gw.h
net/can/gw.c