[PATCH] powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
    Michael Ellerman 
    patch-notifications at ellerman.id.au
       
    Tue Aug  2 21:02:24 AEST 2022
    
    
  
On Sun, 5 Jun 2022 10:51:29 +0400, Miaoqian Lin wrote:
> of_get_next_parent() returns a node pointer with refcount incremented,
> we should use of_node_put() on it when not need anymore.
> Add missing of_node_put() in the error path to avoid refcount leak.
> 
> 
Applied to powerpc/next.
[1/1] powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
      https://git.kernel.org/powerpc/c/df5d4b616ee76abc97e5bd348e22659c2b095b1c
cheers
    
    
More information about the Linuxppc-dev
mailing list