[PATCH] powerpc/pseries: Hold reference and fix refcount leak bugs

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


On Tue, 21 Jun 2022 19:17:01 +0800, Liang He wrote:
> In pseries_cpuhp_cache_use_count() and pseries_cpuhp_detach_nodes(),
> we need carefully hold the reference returned by
> of_find_next_cache_node() and use it to call of_node_put() to keep
> refcount balance.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/pseries: Hold reference and fix refcount leak bugs
      https://git.kernel.org/powerpc/c/6ec4836fa15a0ff02e3a382ad6b1920c728a8c95

cheers


More information about the Linuxppc-dev mailing list