[lvc-project] [PATCH] ath6kl: minor fix for allocation size

Simon Horman simon.horman at corigine.com
Tue Jan 17 18:24:39 MSK 2023


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 at altlinux.org>

Reviewed-by: Simon Horman <simon.horman at corigine.com>



More information about the lvc-project mailing list