[PATCH] powerpc: maple: Fix refcount leak bug in time.c

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


On Fri, 17 Jun 2022 20:40:45 +0800, Liang He wrote:
> In maple_get_boot_time(), 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.
> 
> 

Applied to powerpc/next.

[1/1] powerpc: maple: Fix refcount leak bug in time.c
      https://git.kernel.org/powerpc/c/23b1481898ee8704394cead67eae2634003f7ca8

cheers


More information about the Linuxppc-dev mailing list