Skip to content
Commit c969c6e7 authored by Huang Zijiang's avatar Huang Zijiang Committed by David S. Miller
Browse files

net: hns: Fix object reference leaks in hns_dsaf_roce_reset()



The of_find_device_by_node() takes a reference to the underlying device
structure, we should release that reference.

Signed-off-by: default avatarHuang Zijiang <huang.zijiang@zte.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2c2ade81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment