summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorWei Yongjun2018-01-23 03:10:46 +0100
committerDavid S. Miller2018-01-23 16:59:29 +0100
commitf03e4f8aadc84deb8f3dddcbf0032bac75051e7a (patch)
treed812cf5ef578ca84bea0dbea7258e24c4379e89e /kernel/cpu.c
parentnfp: fix error return code in nfp_pci_probe() (diff)
downloadkernel-qcow2-linux-f03e4f8aadc84deb8f3dddcbf0032bac75051e7a.tar.gz
kernel-qcow2-linux-f03e4f8aadc84deb8f3dddcbf0032bac75051e7a.tar.xz
kernel-qcow2-linux-f03e4f8aadc84deb8f3dddcbf0032bac75051e7a.zip
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 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions