Re: [PATCH net 0/2] net: Fix 2 OF device node refcount leakage issues
From: Kory Maincent
Date: Thu Dec 12 2024 - 10:35:24 EST
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/
net maintainers would prefer to have the API changed as calling of_node_get
before of_find_node_by_name is not intuitive.
Still, don't know if we should fix it until the API is changed?
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com