commit | 7824acd92494cf21229ea5313e525fa20927ba26 | [log] [tgz] |
---|---|---|
author | Yongjian Xu <xuyongjiande@gmail.com> | Tue Dec 30 16:03:46 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 31 19:21:19 2014 -0500 |
tree | 02678b1995f9785c1d6ab21da57e4899ffaa0e56 | |
parent | 0f113b81172705f38a1cb94b1644a339e6bdf884 [diff] |
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: Yongjian Xu <xuyongjiande@gmail.com> Acked-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>