Thread (2 messages) flat view 2 messages, 2 authors, 2021-06-11

Re: [RESEND PATCH] nvmem: core: add a missing of_node_put

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-06-11 10:34:59
Also in: lkml

On Fri, Jun 11, 2021 at 11:23:21AM +0100, Srinivas Kandagatla wrote:
From: Christophe JAILLET <redacted>

'for_each_child_of_node' performs an of_node_get on each iteration, so a
return from the middle of the loop requires an of_node_put.

Fixes: e888d445ac33 ("nvmem: resolve cells from DT at registration time")
Cc: <redacted>
Signed-off-by: Christophe JAILLET <redacted>
Signed-off-by: Srinivas Kandagatla <redacted>
---
Hi Greg, 

Resending just this one with cc stable as rest of nvmem series are already applied.
Thanks, now applied.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help