Re: [PATCH] staging: vt665x: fix alignment constraints

2021-03-16 Thread Arnd Bergmann
On Tue, Mar 16, 2021 at 7:17 PM Edmundo Carmona Antoranz 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

[PATCH] staging: vt665x: fix alignment constraints

2021-03-16 Thread Edmundo Carmona Antoranz
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

[PATCH] staging: vt665x: fix alignment constraints

2021-02-04 Thread Arnd Bergmann
From: Arnd Bergmann multiple structures contains a ieee80211_rts structure, which is required to have at least two byte alignment, but are annotated with a __packed attribute to force single-byte alignment: staging/vt6656/rxtx.h:98:1: warning: alignment 1 of 'struct vnt_rts_g' is less than 2