diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-04-28 09:25:43 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-30 03:57:12 +0300 |
commit | ff5265d45345d01fefc98fcb9ae891b59633c919 (patch) | |
tree | 9b814c8b5f8ba904a3d54f87308843b351fbf4de /drivers/edac | |
parent | 1e4e6904bb773a4ac5f082f76eb1a12c7a051970 (diff) | |
download | linux-ff5265d45345d01fefc98fcb9ae891b59633c919.tar.xz |
net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
The node pointer returned by of_parse_phandle() with refcount incremented,
so add of_node_put() after using it in mtk_sgmii_init().
Fixes: 9ffee4a8276c ("net: ethernet: mediatek: Extend SGMII related functions")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220428062543.64883-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions