can: introduce CAN_REQUIRED_SIZE macro
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Mon, 8 Oct 2018 09:48:33 +0000 (11:48 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 4 Sep 2019 11:29:15 +0000 (13:29 +0200)
commit9868b5d44f3df9dd75247acd23dddff0a42f79be
treec12df929a819d45fab12295ea93c3c5d4d00aa10
parent4f746fb4951834ba71d590d430f27dee54f9d9a0
can: introduce CAN_REQUIRED_SIZE macro

The size of this structure will be increased with J1939 support. To stay
binary compatible, the CAN_REQUIRED_SIZE macro is introduced for
existing CAN protocols.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/core.h
net/can/bcm.c
net/can/raw.c