diff options
| author | Benjamin Li <[email protected]> | 2007-02-26 11:06:31 -0800 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2007-02-27 04:21:43 -0500 |
| commit | 546faf077e14930df2ebddad9190db42f1c42f0f (patch) | |
| tree | 57244f0736369b23063c080e1221d9d0e8ea6427 /include/linux/debugobjects.h | |
| parent | 908b637fe793165b6aecdc875cdca67c4959a1ad (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 <[email protected]>
Signed-off-by: Ron Mercer <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions