Re: [PATCH net 0/2] net: Fix 2 OF device node refcount leakage issues
From: Zijun Hu
Date: Fri Dec 13 2024 - 05:51:11 EST
On 2024/12/12 23:33, Kory Maincent wrote:
> On Thu, 12 Dec 2024 23:06:53 +0800
> Zijun Hu <zijun_hu@xxxxxxxxxx> wrote:
>
>> This patch series is to fix 2 OF device node refcount leakage issues.
>>
>> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>> ---
>> Zijun Hu (2):
>> net: pse-pd: tps23881: Fix device node refcount leakage in
>> tps23881_get_of_channels() net: bcmasp: Fix device node refcount leakage in
>> bcmasp_probe()
>
> Thanks for the patch. This fix was already sent by Zhang Zekun:
> https://lore.kernel.org/netdev/20241024015909.58654-1-zhangzekun11@xxxxxxxxxx/
>
thank you for sharing this info.
> net maintainers would prefer to have the API changed as calling of_node_get
> before of_find_node_by_name is not intuitive.
>
agree.
> Still, don't know if we should fix it until the API is changed?
>
(^^)
> Regards,