diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2009-11-12 13:49:45 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-11-13 02:45:53 -0500 |
commit | b0e15f6db1110319cb2e747e59e1200450a5ba3e (patch) | |
tree | f11abc39f2e5637f61828164363c620f4ca6a67f /drivers | |
parent | aa43f11147141fcd0e5f2fca45a4d71eab3fbe88 (diff) |
cciss: fix typo that causes scsi status to be lost.
cciss: fix typo that causes scsi status to be lost.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/cciss_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c index 3315268b4ec7..237d2b353652 100644 --- a/drivers/block/cciss_scsi.c +++ b/drivers/block/cciss_scsi.c | |||
@@ -755,7 +755,7 @@ complete_scsi_command( CommandList_struct *cp, int timeout, __u32 tag) | |||
755 | cp, | 755 | cp, |
756 | ei->ScsiStatus); | 756 | ei->ScsiStatus); |
757 | #endif | 757 | #endif |
758 | cmd->result |= (ei->ScsiStatus < 1); | 758 | cmd->result |= (ei->ScsiStatus << 1); |
759 | } | 759 | } |
760 | else { /* scsi status is zero??? How??? */ | 760 | else { /* scsi status is zero??? How??? */ |
761 | 761 | ||