Thread (12 messages) 12 messages, 3 authors, 2025-07-31

Re: [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks at probe

From: Simon Horman <horms@kernel.org>
Date: 2025-07-26 20:50:12
Also in: lkml, stable

On Fri, Jul 25, 2025 at 07:12:13PM +0200, Johan Hovold wrote:
Make sure to drop the references to the IEP OF node and device taken by
of_parse_phandle() and of_find_device_by_node() when looking up IEP
devices during probe.

Drop the bogus additional reference taken on successful lookup so that
the device is released correctly by icss_iep_put().

Fixes: c1e0230eeaab ("net: ti: icss-iep: Add IEP driver")
Cc: stable@vger.kernel.org	# 6.6
Cc: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help