aboutsummaryrefslogtreecommitdiffstats
path: root/lib/audit.c
diff options
context:
space:
mode:
authorBenjamin Li <benjamin.li@qlogic.com>2007-02-26 14:06:31 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-27 04:21:43 -0500
commit546faf077e14930df2ebddad9190db42f1c42f0f (patch)
tree57244f0736369b23063c080e1221d9d0e8ea6427 /lib/audit.c
parent908b637fe793165b6aecdc875cdca67c4959a1ad (diff)
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 <benjamin.li@qlogic.com> Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions