Re: [PATCH net-next v2 05/13] net: phy: Fix missing of_node_put() for leds
From: Jinjie Ruan <hidden>
Date: 2024-08-29 02:52:19
Also in:
linux-arm-kernel, linux-sunxi, lkml
From: Jinjie Ruan <hidden>
Date: 2024-08-29 02:52:19
Also in:
linux-arm-kernel, linux-sunxi, lkml
On 2024/8/28 23:45, Willem de Bruijn wrote:
Jinjie Ruan wrote:quoted
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>Fixes should go to net. Should not be part of this series?
However, they have context dependency. If one is merged, the other needs to be rebased.