Skip to content
Commit 7824acd9 authored by Yongjian Xu's avatar Yongjian Xu Committed by David S. Miller
Browse files

qlcnic: Fix return value in qlcnic_probe()



If the check of adapter fails and goes into the 'else' branch, the
return value 'err' should not still be zero.

Signed-off-by: default avatarYongjian Xu <xuyongjiande@gmail.com>
Acked-by: default avatarShahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0f113b81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment