[PATCH -next v2] net: phy: Add missing of_node_put() in xgmiitorgmii_probe()
David Miller
davem at davemloft.net
Mon Aug 22 18:08:44 PDT 2016
From: Wei Yongjun <weiyj.lk at gmail.com>
Date: Sun, 21 Aug 2016 22:46:15 +0000
> 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 <weiyj.lk at gmail.com>
Applied.
More information about the linux-arm-kernel
mailing list