commit | 675a6ceefc31a952bd5a29b6433c2c2d8c595af3 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sat Oct 22 14:35:30 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 26 17:21:59 2016 -0400 |
tree | 64ca41ec63cd9f327db24a8b38ef3c00637651ba | |
parent | 0942170f32e1e9076f9a5f350250b8ec59ac04fa [diff] |
amd-xgbe: Fix error return code in xgbe_probe() Fix to return error code -ENODEV from the DMA is not supported error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>