Re: [PATCH -next] of: platform: fix OF node refcount leak

2018-01-22 Thread Sudeep Holla
On 19/01/18 23:34, Andy Gross wrote: > On 19 January 2018 at 09:37, Sudeep Holla wrote: >> Hi Andy, >> >> On 18/01/18 10:43, Sudeep Holla wrote: >>> We need to call of_node_put() for device nodes obtained with >>> of_find_node_by_path(). >>> >>> Fixes: 3aa0582fdb82 ("of: platform: populate /firm

Re: [PATCH -next] of: platform: fix OF node refcount leak

2018-01-19 Thread Andy Gross
On 19 January 2018 at 09:37, Sudeep Holla wrote: > Hi Andy, > > On 18/01/18 10:43, Sudeep Holla wrote: >> We need to call of_node_put() for device nodes obtained with >> of_find_node_by_path(). >> >> Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from >> of_platform_default_populate

Re: [PATCH -next] of: platform: fix OF node refcount leak

2018-01-19 Thread Sudeep Holla
Hi Andy, On 18/01/18 10:43, Sudeep Holla wrote: > We need to call of_node_put() for device nodes obtained with > of_find_node_by_path(). > > Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from > of_platform_default_populate_init()") > Reported-by: Loys Ollivier > Cc: Rob Herring

Re: [PATCH -next] of: platform: fix OF node refcount leak

2018-01-18 Thread Rob Herring
On Thu, Jan 18, 2018 at 4:43 AM, Sudeep Holla wrote: > We need to call of_node_put() for device nodes obtained with > of_find_node_by_path(). > > Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from > of_platform_default_populate_init()") > Reported-by: Loys Ollivier > Cc: Rob Herri