summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip/ksz9477.c
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-12-05 06:43:39 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-12-07 13:51:06 +0300
commite22dcbc9aa329e7902a8c9f8d11aba74f5d7c97d (patch)
tree8c26023591cf6962906b00b14e1fcc3c5ecdd279 /drivers/net/dsa/microchip/ksz9477.c
parented883bec679b027b198d57a336715f8298fb88b4 (diff)
downloadlinux-e22dcbc9aa329e7902a8c9f8d11aba74f5d7c97d.tar.xz
net: ethernet: mtk_wed: Fix missing of_node_put() in mtk_wed_wo_hardware_init()
The np needs to be released through of_node_put() in the error handling path of mtk_wed_wo_hardware_init(). Fixes: 799684448e3e ("net: ethernet: mtk_wed: introduce wed wo support") Signed-off-by: Yuan Can <yuancan@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/20221205034339.112163-1-yuancan@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz9477.c')
0 files changed, 0 insertions, 0 deletions