Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1151584iog; Wed, 15 Jun 2022 23:17:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sDQyjJWg+fgM/yjgZSYpk3M27Vfs0tGcro5bSwZsjRUiczEZbUAw/LXD4c0WZ3HbQADY7W X-Received: by 2002:a17:90b:1e06:b0:1e3:7d5:b542 with SMTP id pg6-20020a17090b1e0600b001e307d5b542mr14369546pjb.230.1655360278483; Wed, 15 Jun 2022 23:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655360278; cv=none; d=google.com; s=arc-20160816; b=d20WM7RG94uw3yVGhs2o+Tzc0VcjpdFdpB1swYUIWJHPCmP4BEH55CCe7fC4zdAq2D F2o0vM2kmSm8AHz4rHU3caBslQ2YXz2WWvzKy2LBFJ6vqJHV3J2g8IEaeabksEF2u81I apS+7Y/wR4KF+rn1p0kNk+RKbm0pDmpV5kHYdxOsoHKro70z6GQhF+rDfOLnc19+V0Yp uM2NEJYnd5COP5jsHvYUSeLcRI+F5gMqvaaHouftIRYKMuqZqB0dZFlbNl6xhW4sdR0n 3Za1hMT52ZPEHYNxiZnN/Hw/7ajkSMXMzRzBgXcAt4nrShilIe8Aa6UsyxIRTO1uuedF cblg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=TWqlDUk0RVuUPGpj+/mivXVfKrBLY6UN67KnrrhBQOQ=; b=EwwWLUz0u+gkxzHwf1FZ6whYbpgh+FDQyzmPCcWNEEtURqoNXBv1cK1F5f8x67EV8D BCq+2BQtPoPusrhwzUHlvORBbzwobh2OYZmWVOIn3LYS3rrxHpuBpomPKXy909wF9lKN /1vUS8cjfO7UwPnXdRV7Cf1Bp4s9sfuN5K/saqzLVv58CtQS9sweLvyxoyL6Oco91iic /NzbX0rmkasXWxASV7OwX1fWHfIwJkstKesstouctQNDn3BHEoP5U6InsY3MOuR/CCRV ilQNegsrk1BTgKJHmY8ySmn9eFQ7LImth7zWFGs2erUCWGgULfEMjZirM9tVHuvIfGio N7rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tI85vWgm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020aa79f0a000000b00518155ccaf3si1518342pfr.275.2022.06.15.23.17.44; Wed, 15 Jun 2022 23:17:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tI85vWgm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358862AbiFPGC3 (ORCPT + 99 others); Thu, 16 Jun 2022 02:02:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358520AbiFPGC3 (ORCPT ); Thu, 16 Jun 2022 02:02:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0768522B18; Wed, 15 Jun 2022 23:02:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B0C1FB82187; Thu, 16 Jun 2022 06:02:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3495EC34114; Thu, 16 Jun 2022 06:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655359345; bh=00EAwW//1VscB61KDtwzGbrMMRpyOV8rVPd5uHAJUSA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=tI85vWgmxeOMOoAPo5FAcGbqauBSBfgd14PfKH3PIR7TrCMBhslJaYLlxM11nbVrg atFiqPwBpUrkz5PiOqYmk2ZF+Bs8l2q7UxeKXPgEc7Uy79jDFqlhyDMa06X0+fUdKX a5xwnpEvTcAW950UHhjt5lkEhMFLsmAbwKYTZWQzWip0l4vK6ZTK7GAFLqCbQvfm6k IY9nmh9YrZL/rS8F4xzRsR3qv+YE+0q7O1NGce93BEPD1jj9+r6vubJuVinmSzYe/p V1nOjN126xvsY2wJB9wAqVGmyNsyC97jw09jgTrCu6VzdXEYox0+gBjcCKfhp/U57p h+C5FPqXXYLwg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220616032448.3974916-1-windhl@126.com> References: <20220616032448.3974916-1-windhl@126.com> Subject: Re: [PATCH v2] drivers: clk: (clk-nomadik) Add missing of_node_put() From: Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, windhl@126.com To: Liang He , linus.walleij@linaro.org, mturquette@baylibre.com Date: Wed, 15 Jun 2022 23:02:23 -0700 User-Agent: alot/0.10 Message-Id: <20220616060225.3495EC34114@smtp.kernel.org> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Same subject line comment applies here. Look at previous patches to the file. Quoting Liang He (2022-06-15 20:24:48) > diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c > index bad2677e11ae..48d5772b36a5 100644 > --- a/drivers/clk/clk-nomadik.c > +++ b/drivers/clk/clk-nomadik.c > @@ -99,7 +99,7 @@ static void __init nomadik_src_init(void) > if (!src_base) { > pr_err("%s: must have src parent node with REGS (%pOFn)\n= ", > __func__, np); > - return; > + goto out_put; > } > =20 > /* Set all timers to use the 2.4 MHz TIMCLK */ > @@ -132,6 +132,9 @@ static void __init nomadik_src_init(void) > } > writel(val, src_base + SRC_XTALCR); > register_reboot_notifier(&nomadik_clk_reboot_notifier); > + =20 > +output: > + of_node_put(np); =20 tabbed incorrectly?