]> 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)
commitbcd3d987d0a33e772e3735a09be54b9d2bb7743c
tree51732443d1a1ae29f4b7562e799befce76b99e11
parent8cb0a01bd253757e6aa6297deefe2a4df5f6c77c
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