summaryrefslogtreecommitdiff
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-22 14:35:30 +0000
committerDavid S. Miller <davem@davemloft.net>2016-10-26 17:21:59 -0400
commit675a6ceefc31a952bd5a29b6433c2c2d8c595af3 (patch)
tree64ca41ec63cd9f327db24a8b38ef3c00637651ba /lib/dec_and_lock.c
parent0942170f32e1e9076f9a5f350250b8ec59ac04fa (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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions