On Tue, Jan 17, 2023 at 02:04:14PM +0300, Alexey V. Vissarionov 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> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>