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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39318C433EF for ; Tue, 2 Nov 2021 11:45:11 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D333960295 for ; Tue, 2 Nov 2021 11:45:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D333960295 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Hk7PK49KBz3dcC for ; Tue, 2 Nov 2021 22:45:09 +1100 (AEDT) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Hk7Fr2hBLz2ywR for ; Tue, 2 Nov 2021 22:38:40 +1100 (AEDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Hk7Fp65cxz4xdM; Tue, 2 Nov 2021 22:38:38 +1100 (AEDT) From: Michael Ellerman To: Bixuan Cui , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <1635406102-88719-1-git-send-email-cuibixuan@linux.alibaba.com> References: <1635406102-88719-1-git-send-email-cuibixuan@linux.alibaba.com> Subject: Re: [PATCH -next] powerpc/44x/fsp2: add missing of_node_put Message-Id: <163584792552.1845480.16701207323198181302.b4-ty@ellerman.id.au> Date: Tue, 02 Nov 2021 21:12:05 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ivan@de.ibm.com, paulus@samba.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 28 Oct 2021 15:28:22 +0800, Bixuan Cui wrote: > Early exits from for_each_compatible_node() should decrement the > node reference counter. Reported by Coccinelle: > > ./arch/powerpc/platforms/44x/fsp2.c:206:1-25: WARNING: Function > "for_each_compatible_node" should have of_node_put() before return > around line 218. > > [...] Applied to powerpc/next. [1/1] powerpc/44x/fsp2: add missing of_node_put https://git.kernel.org/powerpc/c/290fe8aa69ef5c51c778c0bb33f8ef0181c769f5 cheers