[PATCH] powerpc/powermac/low_i2c: Fix refcount leak bug in kw_i2c_probe()

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


On Sat, 16 Jul 2022 15:07:58 +0800, Liang He wrote:
> We should call of_node_put() for the reference 'parent' returned by
> of_get_parent() which has increased the refcount.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/powermac/low_i2c: Fix refcount leak bug in kw_i2c_probe()
      https://git.kernel.org/powerpc/c/b3d6637bcc5d17caec56a76f6e430dcf444ef80e

cheers


More information about the Linuxppc-dev mailing list