Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp402960pxj; Fri, 11 Jun 2021 01:58:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6AbecbIOOzP5g7fyMHuBgkG3WuexIkoktzC4JbkjCQA8I0zYeawtzc0se4V7KeH8yuDDO X-Received: by 2002:a05:6402:1001:: with SMTP id c1mr2619788edu.26.1623401938472; Fri, 11 Jun 2021 01:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623401938; cv=none; d=google.com; s=arc-20160816; b=UBzvE3havHtxsBN0FeZG4RFokbFqMP85RW2vDKgjEOWXcq/esFMrzs7NU+PdxWE9h6 h8uQSYTnTy9MkhVEKq64XLJboCbFRRjxGvnlww+VSvu3qWB46sMacKnbTt4e5flHsp/q RNUD7shZjvY8v2zezuOtw4G+ktxR9A7io1PkcpWLOmrv0hGQwQiNSaV0F3qRCbFi7FrF wwq9pKM2F4u6s+RVxTfbsArss0+rok2HcRB8H1AEROkLZDmfBnN/j7twAZImQpLpLoSB 6MfO08DG3dL/h8BbbYeJDZ7bMt0f/XmbcQ5HvTGv2gNlpE8DfwLRZrGiFLeqv7fUD/QD jDzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t6EcXUG/HvUh1cqp0sZq7Z1iaq3GY/7u5t0xAgroRS8=; b=esfSG8pqsfhg7iXohdL0bxg+BE+xpWZpLfqVlxGmYtXOECwv/ACaJyPAO7pefrZ08K VZg5jO6NsXpSu0mdsE7+Ltfe/b5mLk+08BmsBRxyYwd2vwrhOxqC2Ns3vtV9EiCXbqrx vbCud2q79rOkmyHssDt6fXR6EXfBzUTQFqgJR8uH89PpV2a2pGyo/gz0x9Z6pTsbpNYu HSoitaNAGLWG8LKNHiDA7y4Tb6Dgght5Zv39Wfhfv8zxPadipmOMPYlt9ro4DRMnOnN7 bOYu9vyrjbaFeSplvlQ+poQB9lEh3UvhvkriQ0e0Ey1vcbKnUTdHC+dblttsGRvutuGs 3BzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ovk6bZEo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si4509003eds.477.2021.06.11.01.58.35; Fri, 11 Jun 2021 01:58:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ovk6bZEo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbhFKI7O (ORCPT + 99 others); Fri, 11 Jun 2021 04:59:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:59738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbhFKI7N (ORCPT ); Fri, 11 Jun 2021 04:59:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CD97E60BD3; Fri, 11 Jun 2021 08:57:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623401836; bh=qxwgRf4LdwHO/2Ovh83Zjv0Go9Pwc/wkHU5/VzPSFaw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ovk6bZEotf8awDD7cDKrKgwckHuynVFqj8pY5PVMe86tmGFItP4xOJc+E+BUIqTMI ZdR2E4IcTKAW4FUSZy6b1VnCrhFaUhOmTGSg6PlWYzrg4VMdGPaKMzOWxTPKEV/g/c lRpbANOomdbmjPICDN86kKPrZfsBYE4Vx1GsCRa4= Date: Fri, 11 Jun 2021 10:57:14 +0200 From: Greg KH To: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org, Christophe JAILLET Subject: Re: [PATCH 5/9] nvmem: core: add a missing of_node_put Message-ID: References: <20210611083348.20170-1-srinivas.kandagatla@linaro.org> <20210611083348.20170-6-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210611083348.20170-6-srinivas.kandagatla@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 09:33:44AM +0100, Srinivas Kandagatla wrote: > From: Christophe JAILLET > > 'for_each_child_of_node' performs an of_node_get on each iteration, so a > return from the middle of the loop requires an of_node_put. > > Fixes: e888d445ac33 ("nvmem: resolve cells from DT at registration time") > Signed-off-by: Christophe JAILLET > Signed-off-by: Srinivas Kandagatla > --- > drivers/nvmem/core.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Looks like this needs to go to the stable kernel trees, so when your resend this series, please add the proper "cc: stable" line to the signed-off-by area as is documented. thanks, greg k-h