summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-05-11 11:08:29 +0800
committerPaolo Abeni <pabeni@redhat.com>2022-05-12 09:44:14 +0200
commit00832b1d1a393dfb1b9491d085e5b27e8c25d103 (patch)
treed14798d361ac8faeec2d25dd9b8aacfc767ef079 /drivers/hid
parenta48ab883c4a9289694b82cacd95385b8f2367b20 (diff)
downloadlinux-stable-00832b1d1a393dfb1b9491d085e5b27e8c25d103.tar.gz
linux-stable-00832b1d1a393dfb1b9491d085e5b27e8c25d103.tar.bz2
linux-stable-00832b1d1a393dfb1b9491d085e5b27e8c25d103.zip
net: ethernet: mediatek: ppe: fix wrong size passed to memset()
'foe_table' is a pointer, the real size of struct mtk_foe_entry should be pass to memset(). Fixes: ba37b7caf1ed ("net: ethernet: mtk_eth_soc: add support for initializing the PPE") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20220511030829.3308094-1-yangyingliang@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions