summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2022-06-20 21:25:53 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-05 17:30:29 +1000
commit605c27f3802038e4623b6fd1bbfa021e1f65b5c4 (patch)
treea04c43ef53d0de12f9b45572dd162b7344c8ca82 /arch/powerpc/platforms/powermac
parentafa6a472a3d2a8dd477b285eeb67b3593546647b (diff)
downloadlinux-605c27f3802038e4623b6fd1bbfa021e1f65b5c4.tar.bz2
powerpc/powernv: Add missing of_node_put()s
In these driver init functions, there are two kinds of errors: (1) missing of_put_node() for of_find_compatible_node()'s returned pointer (refcount incremented) in fail path or when it is not used anymore. (2) missing of_put_node() for 'for_each_xxx' loop's break Signed-off-by: Liang He <windhl@126.com> [mpe: Use out_put_xxx goto label naming] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220620132553.4073863-1-windhl@126.com
Diffstat (limited to 'arch/powerpc/platforms/powermac')
0 files changed, 0 insertions, 0 deletions