lkml.org 
[lkml]   [2019]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: of: Add of_node_put() before return in function
On Wed, Jul 31, 2019 at 06:41:03PM +0530, Nishka Dasgupta wrote:

> My added code is dropping a reference to search, using of_node_put().
> I'm probably misunderstanding this at some point, but I thought search and
> child are two different nodes? Or am I completely misunderstanding what
> you're explaining?

Doh, sorry - missed that it's a different node (there's a lot of these
get mechanically sent).
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-07-31 21:10    [W:0.061 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site