diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-10-17 11:51:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-17 09:35:05 +0100 |
commit | 9d4f20a476ca57e4c9246eb1fa2a61bea2354720 (patch) | |
tree | 82be205a5c57eee4f4ea279195d2231a9948f158 /net/netlink | |
parent | b3d0d98179d62f9d55635a600679c4fa362baf8d (diff) |
net: ethernet: mtk_eth_wed: add missing put_device() in mtk_wed_add_hw()
After calling get_device() in mtk_wed_add_hw(), in error path, put_device()
needs be called.
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 'net/netlink')
0 files changed, 0 insertions, 0 deletions