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

Re: [PATCH] powerpc/pseries/iommu: Add of_node_put() before break

From: Michael Ellerman <hidden>
Date: 2021-11-02 11:40:27
Also in: lkml

On Thu, 14 Oct 2021 03:56:04 -0400, Wan Jiabing wrote:
Fix following coccicheck warning:

./arch/powerpc/platforms/pseries/iommu.c:924:1-28: WARNING: Function
for_each_node_with_property should have of_node_put() before break

Early exits from for_each_node_with_property should decrement the
node reference counter.

[...]
Applied to powerpc/next.

[1/1] powerpc/pseries/iommu: Add of_node_put() before break
      https://git.kernel.org/powerpc/c/915b368f6968122fcab31fd6441ed4ba7cc7574c

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