Re: [PATCH -next v2] net: phy: Add missing of_node_put() in xgmiitorgmii_probe()

2016-08-22 Thread David Miller
From: Wei Yongjun Date: Sun, 21 Aug 2016 22:46:15 + > This node pointer is returned by of_parse_phandle() with > refcount incremented in this function. of_node_put() on it > before exitting this function. > > This is detected by Coccinelle semantic patch. > >

Re: [PATCH -next v2] net: phy: Add missing of_node_put() in xgmiitorgmii_probe()

2016-08-22 Thread Kedari Appana
Hi , On Mon, Aug 22, 2016 at 4:16 AM, Wei Yongjun wrote: > This node pointer is returned by of_parse_phandle() with > refcount incremented in this function. of_node_put() on it > before exitting this function. > > This is detected by Coccinelle semantic patch. > >

[PATCH -next v2] net: phy: Add missing of_node_put() in xgmiitorgmii_probe()

2016-08-21 Thread Wei Yongjun
This node pointer is returned by of_parse_phandle() 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 --- v1 -> v2: release it unconditionally as Andrew and