commit | e2897b8238ab8fdee067cfe472dd52a3414d5716 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sat Oct 22 14:40:17 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 26 17:21:59 2016 -0400 |
tree | 9fa683967270803fdb2ef8094ab1cba421fd841e | |
parent | f850b4a77d71a9cac513dadff91891a78c12ba05 [diff] |
net: netcp: add missing of_node_put() in netcp_probe() This node pointer is returned by of_get_child_by_name() 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 <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>