Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 630e0696 authored by Alexey V. Vissarionov's avatar Alexey V. Vissarionov Committed by Greg Kroah-Hartman
Browse files

wifi: ath6kl: minor fix for allocation size



[ Upstream commit 778f83f889e7fca37780d9640fcbd0229ae38eaa ]

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: bdcd8170 ("Add ath6kl cleaned up driver")
Signed-off-by: default avatarAlexey V. Vissarionov <gremlin@altlinux.org>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230117110414.GC12547@altlinux.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 970cc638
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment