From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26443C48BE0 for ; Fri, 11 Jun 2021 10:34:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E449613E7 for ; Fri, 11 Jun 2021 10:34:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbhFKKgy (ORCPT ); Fri, 11 Jun 2021 06:36:54 -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: stable@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