We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62bf4f commit 359a218Copy full SHA for 359a218
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
@@ -933,6 +933,7 @@ static int hns_mac_get_info(struct hns_mac_cb *mac_cb)
933
mac_cb->cpld_ctrl = NULL;
934
} else {
935
syscon = syscon_node_to_regmap(cpld_args.np);
936
+ of_node_put(cpld_args.np);
937
if (IS_ERR_OR_NULL(syscon)) {
938
dev_dbg(mac_cb->dev, "no cpld-syscon found!\n");
939
0 commit comments