diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-02-04 17:27:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-06 14:11:21 +0100 |
commit | 2faf12c57efe1f905007e866d753af7851205aec (patch) | |
tree | edfb42d9bda990570d0f03dfac0e2ab753bbc3ca /crypto/ecdh.c | |
parent | f1bfe0982e829b05dde834143be7f727814f4b55 (diff) | |
download | linux-stable-2faf12c57efe1f905007e866d753af7851205aec.tar.gz linux-stable-2faf12c57efe1f905007e866d753af7851205aec.tar.bz2 linux-stable-2faf12c57efe1f905007e866d753af7851205aec.zip |
staging: vt665x: fix alignment constraints
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 [-Wpacked-not-aligned]
staging/vt6656/rxtx.h:106:1: warning: alignment 1 of 'struct vnt_rts_ab' is less than 2 [-Wpacked-not-aligned]
staging/vt6656/rxtx.h:116:1: warning: alignment 1 of 'struct vnt_cts' is less than 2 [-Wpacked-not-aligned]
I see no reason why the structure itself would be misaligned, and all members
have at least two-byte alignment within the structure, so use the same
constraint on the sturcture itself.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210204162731.3132069-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/ecdh.c')
0 files changed, 0 insertions, 0 deletions