summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2022-09-06 14:17:03 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-08 14:22:47 +1000
commit71a92e99c47900cc164620948b3863382cec4f1a (patch)
tree4cc946bb9dfde6b8326fac867dd05e5dcdb2e346 /arch/powerpc/sysdev
parentd4d944ff68cb1f896d3f3b1af0bc656949dc626a (diff)
powerpc/powernv: add missing of_node_put() in opal_export_attrs()
After using 'np' returned by of_find_node_by_path(), of_node_put() need be called to decrease the refcount. Fixes: 11fe909d2362 ("powerpc/powernv: Add OPAL exports attributes to sysfs") Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220906141703.118192-1-zhengyongjun3@huawei.com
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions