aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2018-07-04 10:03:27 +0200
committerMichael Ellerman <[email protected]>2020-08-25 01:31:31 +1000
commitd3e669f31ec35856f5e85df9224ede5bdbf1bc7b (patch)
tree0dd85230795b5d7f815d616584623a25d6964740 /lib/test-string_helpers.c
parent67c3e59443f5fc77be39e2ce0db75fbfa78c7965 (diff)
powerpc/icp-hv: Fix missing of_node_put() in success path
Both of_find_compatible_node() and of_find_node_by_type() will return a refcounted node on success - thus for the success path the node must be explicitly released with a of_node_put(). Fixes: 0b05ac6e2480 ("powerpc/xics: Rewrite XICS driver") Signed-off-by: Nicholas Mc Guire <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions