powerpc/xics: add missing of_node_put() in error path

Michael Ellerman patch-notifications at ellerman.id.au
Tue Jun 5 00:10:41 AEST 2018


On Wed, 2018-04-25 at 11:27:07 UTC, YueHaibing wrote:
> 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 at huawei.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/589b1f7e4b0db4c31cef3b55f75148

cheers


More information about the Linuxppc-dev mailing list