[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163584792552.1845480.16701207323198181302.b4-ty@ellerman.id.au>
Date: Tue, 02 Nov 2021 21:12:05 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Bixuan Cui <cuibixuan@...ux.alibaba.com>,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Cc: benh@...nel.crashing.org, paulus@...ba.org, ivan@...ibm.com,
mpe@...erman.id.au
Subject: Re: [PATCH -next] powerpc/44x/fsp2: add missing of_node_put
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
Powered by blists - more mailing lists