commit | f03e4f8aadc84deb8f3dddcbf0032bac75051e7a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Jan 23 02:10:46 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 23 10:59:29 2018 -0500 |
tree | d812cf5ef578ca84bea0dbea7258e24c4379e89e | |
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>