From: Benjamin Li Date: Mon, 26 Feb 2007 19:06:31 +0000 (-0800) Subject: qla3xxx: Return proper error codes when the 4022/4032 is being probed X-Git-Tag: v2.6.21-rc2~3^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546faf077e14930df2ebddad9190db42f1c42f0f;p=pandora-kernel.git qla3xxx: Return proper error codes when the 4022/4032 is being probed The return code was not properly set when when allocating memory or mapping memory failed. Depending on the stack, the return code would sometimes return 0, which indicates everything was ok, when in fact there was an error. This would cause trouble when the module was removed. Now, we will pass back the proper return code when an error occurs during the PCI probe. Signed-off-by: Benjamin Li Signed-off-by: Ron Mercer Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed