diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-22 14:40:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-26 17:21:59 -0400 |
commit | e2897b8238ab8fdee067cfe472dd52a3414d5716 (patch) | |
tree | 9fa683967270803fdb2ef8094ab1cba421fd841e /scripts | |
parent | f850b4a77d71a9cac513dadff91891a78c12ba05 (diff) | |
download | linux-e2897b8238ab8fdee067cfe472dd52a3414d5716.tar.gz linux-e2897b8238ab8fdee067cfe472dd52a3414d5716.tar.bz2 linux-e2897b8238ab8fdee067cfe472dd52a3414d5716.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions