linux-stable/drivers/net/wireless/marvell/libertas_tf
Kees Cook 05db148ee9 libertas_tf: Add missing __packed annotations
The earlier __packed annotations added in commit d71038c059 ("libertas:
Fix alignment issues in libertas core") were not duplicated when
libertas_af was added in commit 7670e62c7e ("libertas_tf: header file"),
even though they share several structure definitions. Add the missing
annotations which commit 642a57475b ("libertas_tf: Use struct_group()
for memcpy() region") exposed. Quoting the prior libertas fix: "Data
structures that come over the wire from the WLAN firmware must be
packed."

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/linux-mm/202111302102.apaePz2J-lkp@intel.com
Fixes: 642a57475b ("libertas_tf: Use struct_group() for memcpy() region")
Fixes: 7670e62c7e ("libertas_tf: header file")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211201173234.578124-3-keescook@chromium.org
2021-12-08 20:39:54 +02:00
..
cmd.c libertas_tf: Fix a bunch of function doc formatting issues 2020-09-01 12:02:39 +03:00
deb_defs.h net: libertas libertas_tf: Remove in_interrupt() from debug macro. 2020-09-29 14:02:55 -07:00
if_usb.c libertas_tf: Fix possible memory leak in probe and disconnect 2021-10-27 10:32:21 +03:00
if_usb.h wireless: marvell: Replace zero-length array with flexible-array member 2020-03-23 19:11:09 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
libertas_tf.h libertas_tf: Add missing __packed annotations 2021-12-08 20:39:54 +02:00
main.c libertas_tf: Use struct_group() for memcpy() region 2021-11-29 12:44:55 +02:00
Makefile