Thread (39 messages) 39 messages, 6 authors, 2024-08-29

Re: [PATCH net-next v2 05/13] net: phy: Fix missing of_node_put() for leds

From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Date: 2024-08-28 12:40:23
Also in: linux-arm-kernel, linux-sunxi, lkml

On Wed, 28 Aug 2024 11:23:35 +0800
Jinjie Ruan [off-list ref] wrote:
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")
Signed-off-by: Jinjie Ruan <redacted>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help