From: "Rafael J. Wysocki" Subject: Re: [PATCH v2] cpufreq: powernv: add of_node_put() Date: Tue, 11 Dec 2018 11:42:25 +0100 Message-ID: <96539770.nKdoRIFDKn@aspire.rjw.lan> References: <20181120160530.21015-1-tiny.windzz@gmail.com> <20181121040204.yjlnxaulet3o5u3r@vireshk-i7> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20181121040204.yjlnxaulet3o5u3r@vireshk-i7> Sender: linux-kernel-owner@vger.kernel.org To: Viresh Kumar , Yangtao Li Cc: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, linux-pm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org On Wednesday, November 21, 2018 5:02:04 AM CET Viresh Kumar wrote: > On 20-11-18, 11:05, Yangtao Li wrote: > > The of_find_node_by_path() returns a node pointer with refcount > > incremented,but there is the lack of use of the of_node_put() when > > done.Add the missing of_node_put() to release the refcount. > > > > Signed-off-by: Yangtao Li > > --- > > Changes in v2 > > -update changelog > > --- > > drivers/cpufreq/powernv-cpufreq.c | 17 +++++++++++------ > > 1 file changed, 11 insertions(+), 6 deletions(-) > > Acked-by: Viresh Kumar Patch applied, thanks!