summaryrefslogtreecommitdiff
path: root/lib/test_firmware.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-05-21 08:33:01 +0200
committerDavid S. Miller <davem@davemloft.net>2022-05-22 21:47:57 +0100
commit15d221d0c345b76947911a3ac91897ffe2f1cc4e (patch)
tree4a44bff3940e18c765fa867c7de3aca007d082d7 /lib/test_firmware.c
parent43252ed15f46658cec64edecfe610e40f6a12d85 (diff)
downloadlinux-15d221d0c345b76947911a3ac91897ffe2f1cc4e.tar.gz
linux-15d221d0c345b76947911a3ac91897ffe2f1cc4e.tar.bz2
linux-15d221d0c345b76947911a3ac91897ffe2f1cc4e.zip
hinic: Avoid some over memory allocation
'prod_idx' (atomic_t) is larger than 'shadow_idx' (u16), so some memory is over-allocated. Fixes: b15a9f37be2b ("net-next/hinic: Add wq") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_firmware.c')
0 files changed, 0 insertions, 0 deletions