On 04.02.2021 17:26:13, Arnd Bergmann wrote: > From: Arnd Bergmann > > struct ucan_message_in contains member with 4-byte alignment > but is itself marked as unaligned, which triggers a warning: > > drivers/net/can/usb/ucan.c:249:1: warning: alignment 1 of 'struct ucan_message_in' is less than 4 [-Wpacked-not-aligned] > > Mark the outer structure to have the same alignment as the inner > one. > > Signed-off-by: Arnd Bergmann Applied to linux-can-next/testing. Thanks, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |