Re: [PATCH 1/2] libertas: Add missing __packed annotation with struct_group()
From: Kalle Valo <kvalo@kernel.org>
Date: 2021-12-08 18:40:16
Also in:
linux-hardening, linux-wireless, lkml
From: Kalle Valo <kvalo@kernel.org>
Date: 2021-12-08 18:40:16
Also in:
linux-hardening, linux-wireless, lkml
Kees Cook [off-list ref] wrote:
Build testing of the newly added struct_group() usage missed smaller architecture width tests for changes to pahole output. Add the missed __packed annotation with struct_group() usage in a __packed struct. Reported-by: kernel test robot <redacted> Link: https://lore.kernel.org/linux-mm/202111302102.apaePz2J-lkp@intel.com (local) Fixes: 5fd32ae0433a ("libertas: Use struct_group() for memcpy() region") Signed-off-by: Kees Cook <redacted>
2 patches applied to wireless-drivers-next.git, thanks. 978090ae8856 libertas: Add missing __packed annotation with struct_group() 05db148ee9a7 libertas_tf: Add missing __packed annotations -- https://patchwork.kernel.org/project/linux-wireless/patch/20211201173234.578124-2-keescook@chromium.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches