[lvc-project] [PATCH] ath6kl: minor fix for allocation size
    Kalle Valo 
    kvalo at kernel.org
       
    Fri Feb 17 19:03:16 MSK 2023
    
    
  
"Alexey V. Vissarionov" <gremlin at altlinux.org> 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>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
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@altlinux.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
    
    
More information about the lvc-project
mailing list