From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gross Subject: Re: [PATCH -next] of: platform: fix OF node refcount leak Date: Fri, 19 Jan 2018 17:34:00 -0600 Message-ID: References: <1516272219-25359-1-git-send-email-sudeep.holla@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sudeep Holla Cc: devicetree , Linux Kernel list , Loys Ollivier , Bjorn Andersson , Rob Herring , Frank Rowand List-Id: devicetree@vger.kernel.org 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_init()") >> Reported-by: Loys Ollivier >> Cc: Rob Herring >> Cc: Frank Rowand >> Signed-off-by: Sudeep Holla >> --- >> drivers/of/platform.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> > > Can you pick up this with other fixes you would send after v4.16-rc1 or > do you prefer me to route through ARM-SoC directly ? Let me know. I can pick this up for fixes, no problem. I can send it along right now if you like. This is a pretty low risk patch. Regards, Andy -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html