aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2024-08-30 02:20:25 +0000
committerPaolo Abeni <[email protected]>2024-09-03 10:38:17 +0000
commit2560db6ede1aaf162a73b2df43e0b6c5ed8819f7 (patch)
treea1019028c519eb26bf40ba1ef82a9e3049abe4ab /drivers/net/ethernet/intel/ice/ice_lib.c
parentMerge branch 'net-ethernet-ti-am65-cpsw-fix-xdp-implementation' (diff)
downloadkernel-2560db6ede1aaf162a73b2df43e0b6c5ed8819f7.tar.gz
kernel-2560db6ede1aaf162a73b2df43e0b6c5ed8819f7.zip
net: phy: Fix missing of_node_put() for leds
The call of of_get_child_by_name() will cause refcount incremented for leds, if it succeeds, it should call of_node_put() to decrease it, fix it. Fixes: 01e5b728e9e4 ("net: phy: Add a binding for PHY LEDs") Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Jinjie Ruan <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions