diff options
author | Alexey V. Vissarionov <gremlin@altlinux.org> | 2023-02-15 20:31:37 +0200 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-02-17 18:03:04 +0200 |
commit | 778f83f889e7fca37780d9640fcbd0229ae38eaa (patch) | |
tree | bc43bbd20a27484f69797bae32b575716022f01e /drivers/net/wan/hdlc_raw_eth.c | |
parent | cf8f3d4deb02a8fdc806c46d4112b69868544697 (diff) |
wifi: ath6kl: minor fix for allocation size
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@altlinux.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230117110414.GC12547@altlinux.org
Diffstat (limited to 'drivers/net/wan/hdlc_raw_eth.c')
0 files changed, 0 insertions, 0 deletions