summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-05-18 10:08:12 +0800
committerDavid S. Miller <davem@davemloft.net>2022-05-18 14:08:49 +0100
commit223153ea6c79a0d78dc2a04e3300de1deb336f14 (patch)
tree72082ff3469e950ac7b5106bf750fc285d46c0ae /lib/mpi/mpi-sub-ui.c
parent7ba106fcd4b441c5d6e3d1219104e022ca470d00 (diff)
net: ethernet: sunplus: add missing of_node_put() in spl2sw_mdio_init()
of_get_child_by_name() returns device node pointer with refcount incremented. The refcount should be decremented before returning from spl2sw_mdio_init(). Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Wells Lu <wellslutw@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions