Re: [PATCH -next] greybus: arche-platform: Add missing of_node_put() in arche_platform_change_state()

2016-10-17 Thread Johan Hovold
On Mon, Oct 17, 2016 at 04:37:20PM +, Wei Yongjun wrote: > From: Wei Yongjun > > This node pointer is returned by of_find_compatible_node() with > refcount incremented in this function. of_node_put() on it before > exitting this function. > > This is detected by

Re: [PATCH -next] greybus: arche-platform: Add missing of_node_put() in arche_platform_change_state()

2016-10-17 Thread Johan Hovold
On Mon, Oct 17, 2016 at 04:37:20PM +, Wei Yongjun wrote: > From: Wei Yongjun > > This node pointer is returned by of_find_compatible_node() with > refcount incremented in this function. of_node_put() on it before > exitting this function. > > This is detected by Coccinelle semantic patch. >

[PATCH -next] greybus: arche-platform: Add missing of_node_put() in arche_platform_change_state()

2016-10-17 Thread Wei Yongjun
From: Wei Yongjun This node pointer is returned by of_find_compatible_node() with refcount incremented in this function. of_node_put() on it before exitting this function. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun

[PATCH -next] greybus: arche-platform: Add missing of_node_put() in arche_platform_change_state()

2016-10-17 Thread Wei Yongjun
From: Wei Yongjun This node pointer is returned by of_find_compatible_node() with refcount incremented in this function. of_node_put() on it before exitting this function. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun --- drivers/staging/greybus/arche-platform.c |