On Thu, 16 Jun 2022 22:40:07 +0800, Liang He wrote: > In media5200_init_irq(), of_find_compatible_node() will return a > node pointer with refcount incremented. We should use of_node_put() > in fail path or when it is not used anymore. > > Don't worry about 'fpga_np==NULL' as of_node_put() can correctly > handle it. > > [...]
Applied to powerpc/next.
[1/1] powerpc: platforms: 52xx: Fix refcount leak in media5200.c
https://git.kernel.org/powerpc/c/593d7b89c6a2bf7aea2324c94f10ef3c21308418
cheers
