[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zxn2gHDHRhqnyFFx@pengutronix.de>
Date: Thu, 24 Oct 2024 09:25:52 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: Zhang Zekun <zhangzekun11@...wei.com>
Cc: justin.chen@...adcom.com, florian.fainelli@...adcom.com,
andrew+netdev@...n.ch, davem@...emloft.net,
kory.maincent@...tlin.com, horms@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
chenjun102@...wei.com
Subject: Re: [PATCH net 2/2] net: pse-pd: Add missing of_node_get() before
of_find_node_by_name()
On Thu, Oct 24, 2024 at 09:59:09AM +0800, Zhang Zekun wrote:
> of_find_node_by_name() will decrease the refount of the device_node.
> So, get the device_node before passing to it.
>
> Fixes: 20e6d190ffe1 ("net: pse-pd: Add TI TPS23881 PSE controller driver")
> Signed-off-by: Zhang Zekun <zhangzekun11@...wei.com>
Acked-by: Oleksij Rempel <o.rempel@...gutronix.de>
Thank you!
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Powered by blists - more mailing lists