"Alexey V. Vissarionov" <gremlin@xxxxxxxxxxxx> wrote: > Although the "param" pointer occupies more or equal space compared > to "*param", the allocation size should use the size of variable > itself. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: bdcd81707973cf8a ("Add ath6kl cleaned up driver") > Signed-off-by: Alexey V. Vissarionov <gremlin@xxxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 778f83f889e7 wifi: ath6kl: minor fix for allocation size -- https://patchwork.kernel.org/project/linux-wireless/patch/20230117110414.GC12547@xxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches