diff options
author | 2021-06-15 17:21:55 +0000 | |
---|---|---|
committer | 2021-06-16 12:02:38 -0700 | |
commit | 61273f9d83148a38cf9b78d43016c29fc80f48e5 (patch) | |
tree | 3319873240d909ac41951a8941bb83b273e1a333 /tools/perf/scripts/python | |
parent | net: chelsio: cxgb4: use eth_zero_addr() to assign zero address (diff) | |
download | linux-dev-61273f9d83148a38cf9b78d43016c29fc80f48e5.tar.xz linux-dev-61273f9d83148a38cf9b78d43016c29fc80f48e5.zip |
net: stmmac: Fix error return code in ingenic_mac_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 2bb4b98b60d7 ("net: stmmac: Add Ingenic SoCs MAC support.")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions