diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-22 21:10:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-23 10:59:29 -0500 |
commit | f03e4f8aadc84deb8f3dddcbf0032bac75051e7a (patch) | |
tree | d812cf5ef578ca84bea0dbea7258e24c4379e89e /tools/perf/scripts/python/syscall-counts.py | |
parent | e58decc9c51eb61697aba35ba8eda33f4b80552d (diff) |
net: aquantia: Fix error return code in aq_pci_probe()
Fix to return error code -ENOMEM from the aq_ndev_alloc() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 23ee07ad3c2f ("net: aquantia: Cleanup pci functions module")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions