On Tue, Mar 16, 2021 at 7:17 PM Edmundo Carmona Antoranz <eantoranz@xxxxxxxxx> wrote: > > Removing 2 instances of alignment warnings > > drivers/staging/vt6655/rxtx.h:153:1: warning: alignment 1 of ‘struct vnt_cts’ is less than 2 [-Wpacked-not-aligned] > drivers/staging/vt6655/rxtx.h:163:1: warning: alignment 1 of ‘struct vnt_cts_fb’ is less than 2 [-Wpacked-not-aligned] > > The root cause seems to be that _because_ struct ieee80211_cts is marked as __aligned(2), > this requires any encapsulating struct to also have an alignment of 2. > > Fixes: 2faf12c57efe ("staging: vt665x: fix alignment constraints") > Signed-off-by: Edmundo Carmona Antoranz <eantoranz@xxxxxxxxx> Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx> _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel