Skip to content
Commit 6e22066f authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

net: ena: Fix error return code in ena_device_init()



Fix to return a negative error code from the invalid dma width
error handling case instead of 0.

Signed-off-by: default avatarWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 557bc7d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment