summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-10-17 11:51:54 +0800
committerDavid S. Miller <davem@davemloft.net>2022-10-17 09:35:05 +0100
commitb3d0d98179d62f9d55635a600679c4fa362baf8d (patch)
treeef060890a45dbfcdf4ff2211159dfe5d33ea8791 /samples
parent2d1f274b95c6e4ba6a813b3b8e7a1a38d54a0a08 (diff)
net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe()
If mtk_wed_add_hw() has been called, mtk_wed_exit() needs be called in error path or removing module to free the memory allocated in mtk_wed_add_hw(). Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions