Thread (3 messages) flat view 3 messages, 2 authors, 2021-11-03

Re: [PATCH -next] powerpc/44x/fsp2: add missing of_node_put

From: Michael Ellerman <hidden>
Date: 2021-11-02 11:39:16
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help