summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-11-12 12:49:45 -0600
committerJens Axboe <jens.axboe@oracle.com>2009-11-13 08:45:53 +0100
commitb0e15f6db1110319cb2e747e59e1200450a5ba3e (patch)
treef11abc39f2e5637f61828164363c620f4ca6a67f /drivers
parentaa43f11147141fcd0e5f2fca45a4d71eab3fbe88 (diff)
downloadlinux-b0e15f6db1110319cb2e747e59e1200450a5ba3e.tar.bz2
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.c2
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)
cp,
ei->ScsiStatus);
#endif
- cmd->result |= (ei->ScsiStatus < 1);
+ cmd->result |= (ei->ScsiStatus << 1);
}
else { /* scsi status is zero??? How??? */