Received: by 10.223.176.46 with SMTP id f43csp1155140wra; Fri, 19 Jan 2018 07:38:38 -0800 (PST) X-Google-Smtp-Source: ACJfBosi31tmW+75T+VYmDAAEfcRUPIUa6QLaSVDgWJx1I4L6Rx6Zo5DoWxbumHByYGTMCNdjC7b X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr1871843pld.326.1516376318434; Fri, 19 Jan 2018 07:38:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516376318; cv=none; d=google.com; s=arc-20160816; b=CD3zxrkfKaXmLJ3jD+DXwCL3SeygOIRy7ynVQOyEGGvBQWzewJHW4aHqFxkCgOQk8W nUpcViHz8Tla//ngrLJ1bosBWRVN3FthnLO0MffF94e22XLyNG09DB19tQ1uVay/YkZ7 1WALNnfs0+NqbpNNA8bMdXYHeG8erPfbfry5LQSETUBOA4pbHyYLFnaehc1o+by4kK3G zTpM67EDFaYf1BMqNlD+TF4lHkb5SlEpruOtPsv1l+TcNWBnUiqgGBffgAicTPSOA3I8 o7cnn6dLHHpZlkqkXn+ZgdwSt34C/bUQNfJN5yVfO5d5iD8TNl/gxFlLGYt1b2U+T4O+ cqbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject:cc :arc-authentication-results; bh=x5WSAi26wmwIPybgQFgAG8zmmJbEPq3FQxeZQRSrYT0=; b=HtcTRZG6EY9sGlavFbISVJViZtuf1Rx/SoIqtF7+DscOZ0+9eJ8gL1ZzlouNZVuCx+ 5jzsHYi5FtiYF+4iQ9cvDaTyMR+yhiDu5y5/LHtfWavvf7FiO6zEFgEQKTyPwfuk6hWi V3/rBEAziSxYwfAFyklonmtWzsvI9mkou2yB25zJkYW3Zh6KbBdaE74/0XIsblW2IaH5 JuHe7cIIOOVKaziu3BSqGooXDPxBEA4zW/FporrhwORmaeC3De/AfdXvzxlv55uzrh9Y L0ADHdiOc70aDDRCwkUIq9I/qYg3N9jBY2TqT1UKhT8wQGsZ2YWhoZE40wEvrdtcm/4Q q0cw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7-v6si906128plr.828.2018.01.19.07.38.24; Fri, 19 Jan 2018 07:38:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755975AbeASPhm (ORCPT + 99 others); Fri, 19 Jan 2018 10:37:42 -0500 Received: from foss.arm.com ([217.140.101.70]:40128 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755700AbeASPhe (ORCPT ); Fri, 19 Jan 2018 10:37:34 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3468A1529; Fri, 19 Jan 2018 07:37:34 -0800 (PST) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D08403F557; Fri, 19 Jan 2018 07:37:32 -0800 (PST) Cc: Sudeep Holla , Loys Ollivier , Bjorn Andersson , Rob Herring , Frank Rowand Subject: Re: [PATCH -next] of: platform: fix OF node refcount leak To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross References: <1516272219-25359-1-git-send-email-sudeep.holla@arm.com> From: Sudeep Holla Organization: ARM Message-ID: Date: Fri, 19 Jan 2018 15:37:31 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1516272219-25359-1-git-send-email-sudeep.holla@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Regards, Sudeep