diff options
author | Mark Haverkamp <markh@osdl.org> | 2006-08-03 08:03:07 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-19 13:33:45 -0700 |
commit | 90ee346651524eb275405d410f5d3bb6765a2d93 (patch) | |
tree | ff78b321da9aafb44dfbe593f0c7dbe7f88f053e /drivers/scsi/aacraid/comminit.c | |
parent | 8c23cd7457151fc8ace79ec700a8aeaa9fc5b3d9 (diff) | |
download | blackbird-op-linux-90ee346651524eb275405d410f5d3bb6765a2d93.tar.gz blackbird-op-linux-90ee346651524eb275405d410f5d3bb6765a2d93.zip |
[SCSI] aacraid: Check for unlikely errors
Received from Mark Salyzyn
The enclosed patch cleans up some code fragments, adds some paranoia
(unproven causes of potential driver failures).
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/comminit.c')
-rw-r--r-- | drivers/scsi/aacraid/comminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c index 1cd3584ba7ff..87a955096761 100644 --- a/drivers/scsi/aacraid/comminit.c +++ b/drivers/scsi/aacraid/comminit.c @@ -180,7 +180,7 @@ int aac_send_shutdown(struct aac_dev * dev) -2 /* Timeout silently */, 1, NULL, NULL); - if (status == 0) + if (status >= 0) aac_fib_complete(fibctx); aac_fib_free(fibctx); return status; |