Skip to content
Commit 05db148e authored by Kees Cook's avatar Kees Cook Committed by Kalle Valo
Browse files

libertas_tf: Add missing __packed annotations



The earlier __packed annotations added in commit d71038c0 ("libertas:
Fix alignment issues in libertas core") were not duplicated when
libertas_af was added in commit 7670e62c ("libertas_tf: header file"),
even though they share several structure definitions. Add the missing
annotations which commit 642a5747 ("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: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/linux-mm/202111302102.apaePz2J-lkp@intel.com


Fixes: 642a5747 ("libertas_tf: Use struct_group() for memcpy() region")
Fixes: 7670e62c ("libertas_tf: header file")
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211201173234.578124-3-keescook@chromium.org
parent 978090ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment