Received: by 10.223.176.46 with SMTP id f43csp166948wra; Fri, 19 Jan 2018 15:34:53 -0800 (PST) X-Google-Smtp-Source: AH8x225XknNT/WXsPvQyvrHzMvlHvR2v9oA5wA1k+xv5/N0nf2lKZAosu5awMYjH6MNiIYAtBxpR X-Received: by 10.101.101.71 with SMTP id a7mr151193pgw.192.1516404893677; Fri, 19 Jan 2018 15:34:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516404893; cv=none; d=google.com; s=arc-20160816; b=ZAPovEbEhw2olchFyFbRpRjdteDeLLT4sXajS/rXNbMoccXAcftr3ORwCZWnVBi0lO tSjhSu3ICpCVZ2Ba0ZEBtIvfBW1D2k2Vch78+6/LhnmDZ31PaLgSJY16R7blDMBUhQgf ryi3BaUNmHfTyp/hyGyazBuQhPFL0ONGXNlWnraHBTb6IMo4rRSg6mOOEylP53gapy5K nKYDdzXKY9LtpyRZBcMBQ1y7plN7MZ1H9XA1E2c+Pe/JeA1H4IzSId4XSis9bhFiQA2d 0GfPAHwLGaFkdM6i5LBI966DeufQYgZu5iMzoI5Aa5NE1Gcu+ED5BtIrQnuP+h/1GWx5 9JxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=jL64vu+63+3c/MHQ5L96Spx9QCsH3HkM5YUYMVvoa/c=; b=OAOHtW+aSoW98Dqkt1Y1OjTko+91S2Zn8MECXH0XrFykz/T6PbO8DWY/Tz+tktP3VS imUENYqdDKvyWaET13sGLSIoN2IBkJ/ihFnIuDA1JrZFsdR/Wz7cjGZMY0HzXurOLGQr 1gWNX8VmvoU9g4/aLNK4SEt3chntiheVIFPytYw7QTPj4SkuPXQHNpn0gTnZeZMrEnA6 1HmNrobl1//dDP+GHloGzMhUvwFkWNWd92/dZN1/Y0qfJP3ptYmUf6weCEP5miy4qzsX YqaV5FpuJAotcIT560BI4l7dVFvk2P9KoqtQdAMQK/4XtierT63S6UycyeXOudT1nHU4 P7Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gTySePpV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o13si9040485pgc.508.2018.01.19.15.34.39; Fri, 19 Jan 2018 15:34:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gTySePpV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756027AbeASXeJ (ORCPT + 99 others); Fri, 19 Jan 2018 18:34:09 -0500 Received: from mail-vk0-f52.google.com ([209.85.213.52]:38651 "EHLO mail-vk0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938AbeASXeC (ORCPT ); Fri, 19 Jan 2018 18:34:02 -0500 Received: by mail-vk0-f52.google.com with SMTP id z9so1694815vkd.5 for ; Fri, 19 Jan 2018 15:34:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jL64vu+63+3c/MHQ5L96Spx9QCsH3HkM5YUYMVvoa/c=; b=gTySePpVQ+j0kLTvlMWNPhogOe5CIl0c6lG6clTSFr/sXXoHwHoMtMZ7G5+9r+WG83 rWAX23QNRa1sydKTeb7IVSjnWePTT9hm8X8of3xyTS0edJ4o1zKym2YBAz6Qo5GbKFEI cEzixPzyk6ks5D9DGKaGoyE2wukAKhNVK9Xac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jL64vu+63+3c/MHQ5L96Spx9QCsH3HkM5YUYMVvoa/c=; b=kYmcB4dh06+Wq4rCredFycdNCBdqeLtoi2V4ssS2Su6XBvDNvbFEH6tQviQNYqXL2k k+6H6oy6QaSpKuGvIf61br7QZL045uBef2iSftS7wM1lWSlURwvx59yCXVP5nnID3xLi bU+7cUIIQougQ9Pqa9z4YPrzUAdIRSzl9QlFWE1NSpoCCViA/knXvyT1lHBIsnO0Gd93 Kg4Xbv9uf69KKBf2bFWXxG60by+o/lABmpoL8KwXvR4MN61WHcCRn9/yS5myd7g0tSWW xnAsVBce6ej0ZTgHeLQUvHkebtpfvtWvMzyRV55HDXj4T4DoQpfnnpNE63j84xqNJHkF iAZA== X-Gm-Message-State: AKwxytegBlynbnX/Te000Y8MQbGHNMI1w/uAiXCrFJR23sZbcHPEsuEO V9B51CUjBpXKQKrt8QOM8hirrFt++np1tYLJY3q89g== X-Received: by 10.31.132.15 with SMTP id g15mr89362vkd.136.1516404841204; Fri, 19 Jan 2018 15:34:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.168.150 with HTTP; Fri, 19 Jan 2018 15:34:00 -0800 (PST) In-Reply-To: References: <1516272219-25359-1-git-send-email-sudeep.holla@arm.com> From: Andy Gross Date: Fri, 19 Jan 2018 17:34:00 -0600 Message-ID: Subject: Re: [PATCH -next] of: platform: fix OF node refcount leak To: Sudeep Holla Cc: devicetree , Linux Kernel list , Loys Ollivier , Bjorn Andersson , Rob Herring , Frank Rowand Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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