OSDN Git Service

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)
commita2f11835994ed5bcd6d66c7205947cc482231b08
treed6c14658230c9fb468403a5b6078deee3ac9b9e4
parent239fb791d4ee194740e69fe9694f58ec404d1689
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