Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp461774pxj; Fri, 11 Jun 2021 03:38:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHr/aDM8L7H2kj0RNG4y4l+LsIqML1fEHMDpJSvo7W+P8YtxktCFhHJfuBHnUNpa3aH6pV X-Received: by 2002:a17:906:2306:: with SMTP id l6mr3014317eja.362.1623407895726; Fri, 11 Jun 2021 03:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623407895; cv=none; d=google.com; s=arc-20160816; b=eXb1LIPOu05eB4rAbnDXLiaIYt0zozHAfN0loFPimxMohlDXJHNpRiryhAZ1G19Q8Y Nqsqg736eZ6S+nWIkjwfLujLcvhNhGP23ZioA2rW77McWD+RA1Zwbw24CsnL3wQl6UF7 TMcFnX5FgOa1DlI8vAuEhJ4P7AXNls96p4Dd0hSKwlXxWDTyhAtZZt88GuXNBqC6zr+X Jb4GC6xwvrKz3Zl+c5iLwW+VtadJHjaYTk6pSyuVHJw0rX8CTkAwkwnTMa2vfKGiNAK1 AS04+rw+n6LiGRNJQzYKkT2MIwS4Rlotfn/YElrEhpsiu9DcxEQTChDWwqcG46c8d9dl /3HQ== 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=tztfhOMb+TG4AFnQAfffscVkcQ1QgRj5yBYqhJR9KL8=; b=LLZ9WgEW7jhYAeJEtEkc0rOdw/28RU2ys1JGMmMHRGKb6+0Gf0T3uG/0HH8UQS+csN d9WP/hK8vmTCJ6rmTcf0IFe02xAucjXToHWG6j1QFHA/an7d/wkFDfylVa96aa1VGQKQ XDn8Tcc9BRFe7r4KuAqoN5WeI/TQEVeCbTp792b7YRU+GHjXvvE7GrUe/Tfn8rm8yebh lOl218sCwEzZ++WSggIXHjqQBSChSsL62wyCOEUYYGlodfQjoxxsjRtxrHk/O3c+6B1z Myq1T4L8M1NQ1IYxj+WtC6olEF13LKZjoU/GMc9eZVv8BCghufMPJuoE3+ioWTbHmJKa mnGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ktc4MNFW; 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 cz26si4780329edb.106.2021.06.11.03.37.52; Fri, 11 Jun 2021 03:38:15 -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=ktc4MNFW; 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 S231488AbhFKKgz (ORCPT + 99 others); Fri, 11 Jun 2021 06:36:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:55898 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231315AbhFKKgy (ORCPT ); Fri, 11 Jun 2021 06:36:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4C29E613DE; Fri, 11 Jun 2021 10:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623407684; bh=VFJTtZgTGvgwlAPxB+c53Gj4BcOkgELi3OWU6hIMh7A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ktc4MNFWAkOn6BfDkWE5dnj6D2YC9slcqlpvYGzq06AIZH5Ar3hLAJwn4Ch9Jultn QelaOxUQAydPeXjh+JFSoEnhR/q6uMkTRrGi0Y0rQsUMx9BiENiiyDTQcFTz2xyepv pWVb9kqr+//dV70EtrZjhr/3OydxZHhYWUXGv4Ng= Date: Fri, 11 Jun 2021 12:34:42 +0200 From: Greg KH To: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org, Christophe JAILLET , stable@vger.kernel.org Subject: Re: [RESEND PATCH] nvmem: core: add a missing of_node_put Message-ID: References: <20210611102321.11509-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210611102321.11509-1-srinivas.kandagatla@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 11:23:21AM +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") > Cc: > Signed-off-by: Christophe JAILLET > Signed-off-by: Srinivas Kandagatla > --- > Hi Greg, > > Resending just this one with cc stable as rest of nvmem series are already applied. Thanks, now applied. greg k-h