linux/arch/powerpc/sysdev/xics
YueHaibing 589b1f7e4b powerpc/xics: Add missing of_node_put() in error path
The device node obtained with of_find_compatible_node() should be
released by calling of_node_put().  But it was not released when
of_get_property() failed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
[mpe: Invert the sense of the if so we only need one return path]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-06-03 20:43:35 +10:00
..
icp-hv.c powerpc: Change the doorbell IPI calling convention 2017-04-13 23:34:33 +10:00
icp-native.c powerpc/64: Use array of paca pointers and allocate pacas individually 2018-03-30 23:34:23 +11:00
icp-opal.c powerpc: Change the doorbell IPI calling convention 2017-04-13 23:34:33 +10:00
ics-opal.c powerpc: Use pr_warn instead of pr_warning 2017-12-04 11:54:34 +11:00
ics-rtas.c powerpc: Use pr_warn instead of pr_warning 2017-12-04 11:54:34 +11:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xics-common.c powerpc/xics: Add missing of_node_put() in error path 2018-06-03 20:43:35 +10:00