]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Add missing fwnode_handle_put in hns_mac_init
authorPeng Wu <wupeng58@huawei.com>
Thu, 21 Apr 2022 05:53:44 +0000 (05:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Apr 2022 10:06:53 +0000 (11:06 +0100)
commit91a8f48a1d3cd91c1aa49a8baec50571ce930970
tree51732443d1a1ae29f4b7562e799befce76b99e11
parent0f5fbff7d09e5ccda51ece835c30f8cbe1309fa1
net: hns: Add missing fwnode_handle_put in hns_mac_init

In one of the error paths of the device_for_each_child_node() loop
in hns_mac_init, add missing call to fwnode_handle_put.

Signed-off-by: Peng Wu <wupeng58@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c