summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss_scsi.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-11-12 19:49:45 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-11-13 08:45:53 +0100
commitb0e15f6db1110319cb2e747e59e1200450a5ba3e (patch)
treef11abc39f2e5637f61828164363c620f4ca6a67f /drivers/block/cciss_scsi.c
parentcciss: remove sendcmd() as it is no longer used. (diff)
downloadlinux-b0e15f6db1110319cb2e747e59e1200450a5ba3e.tar.xz
linux-b0e15f6db1110319cb2e747e59e1200450a5ba3e.zip
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/block/cciss_scsi.c')
-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??? */