]> git.baikalelectronics.ru Git - kernel.git/commit
can.h: make padding given by gcc explicit
authorShawn Landden <shawn@churchofgit.com>
Tue, 5 May 2015 16:07:16 +0000 (09:07 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 6 May 2015 06:03:19 +0000 (08:03 +0200)
commite04d4303a67cb1965655e54922d1524e07b337ad
treed6c14658230c9fb468403a5b6078deee3ac9b9e4
parentd669a743fa1cde163f00979c3e1dfb8753c3a6ad
can.h: make padding given by gcc explicit

The current definition of struct can_frame has a 16-byte size, with 8-byte
alignment, but the 3 bytes of padding are not explicit like the similar 2 bytes
of padding of struct canfd_frame. Make it explicit so it is easier to read.

Signed-off-by: Shawn Landden <shawn@churchofgit.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Documentation/networking/can.txt
include/uapi/linux/can.h