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

Jinjie Ruan ruanjinjie at huawei.com
Wed Aug 28 19:46:17 PDT 2024



On 2024/8/28 23:45, Willem de Bruijn wrote:
> Jinjie Ruan 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 <ruanjinjie at huawei.com>
> 
> Fixes should go to net. Should not be part of this series?

Thank you! I will separate it out.



More information about the linux-arm-kernel mailing list