diff options
| author | Kees Cook <keescook@chromium.org> | 2021-12-01 09:32:34 -0800 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2021-12-08 20:39:54 +0200 |
| commit | 05db148ee9a7c7d2a690ff2862fac77be06ce667 (patch) | |
| tree | 3f5ee5e72d77f761b0f2909d7ec7aac84fdffad9 /lib/mpi/mpi-add.c | |
| parent | 978090ae8856edbf4d01d0c1f2103831da25f04c (diff) | |
libertas_tf: Add missing __packed annotations
The earlier __packed annotations added in commit d71038c05970 ("libertas:
Fix alignment issues in libertas core") were not duplicated when
libertas_af was added in commit 7670e62c7ed6 ("libertas_tf: header file"),
even though they share several structure definitions. Add the missing
annotations which commit 642a57475b30 ("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: 642a57475b30 ("libertas_tf: Use struct_group() for memcpy() region")
Fixes: 7670e62c7ed6 ("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
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
