From: Yongjian Xu Date: Tue, 30 Dec 2014 08:03:46 +0000 (+0800) Subject: qlcnic: Fix return value in qlcnic_probe() X-Git-Tag: fixes-v4.0-rc1~337^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7824acd92494cf21229ea5313e525fa20927ba26;p=pandora-kernel.git 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 Acked-by: Shahed Shaikh Signed-off-by: David S. Miller --- Reading git-diff-tree failed