diff options
| author | 2024-08-30 10:20:25 +0800 | |
|---|---|---|
| committer | 2024-09-03 12:38:17 +0200 | |
| commit | 2560db6ede1aaf162a73b2df43e0b6c5ed8819f7 (patch) | |
| tree | a1019028c519eb26bf40ba1ef82a9e3049abe4ab /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | Merge branch 'net-ethernet-ti-am65-cpsw-fix-xdp-implementation' (diff) | |
| download | wireguard-linux-2560db6ede1aaf162a73b2df43e0b6c5ed8819f7.tar.xz wireguard-linux-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 <Jonathan.Cameron@huawei.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240830022025.610844-1-ruanjinjie@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
