]> git.itanic.dy.fi Git - linux-stable/commit
powerpc/cell: Add missing of_node_put()s
authorLiang He <windhl@126.com>
Sun, 19 Jun 2022 07:23:35 +0000 (15:23 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:28:26 +0000 (17:28 +1000)
commitd9e1c6104d87d4027133b28f5ccab8f999830acd
tree8af6375ee08a78d037216c4224564949d074ebbf
parentd1aabbbb2564f23b66ded10d870e7859e92075a3
powerpc/cell: Add missing of_node_put()s

Use of_node_put() for of_find_node_by_path() and
of_find_node_by_phandle() to keep refcount balance.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220619072335.4067728-1-windhl@126.com
arch/powerpc/platforms/cell/setup.c
arch/powerpc/platforms/cell/spu_manage.c