[PATCH] powerpc/powermac/udbg_scc: Fix refcount leak bug in udbg_scc_init()

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 9 22:07:31 AEST 2022


On Sat, 16 Jul 2022 15:43:44 +0800, Liang He wrote:
> During the iteration of for_each_child_of_node(), we need to call
> of_node_put() for the old references stored in to 'ch_def' and 'ch_a'
> as their refcounters have been increased in last iteration.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/powermac/udbg_scc: Fix refcount leak bug in udbg_scc_init()
      https://git.kernel.org/powerpc/c/2378bf144b841df548161af49bf1ff393dc60d44

cheers


More information about the Linuxppc-dev mailing list