cciss: fix typo that causes scsi status to be lost.
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 12 Nov 2009 18:49:45 +0000 (12:49 -0600)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 13 Nov 2009 07:45:53 +0000 (08:45 +0100)
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>
drivers/block/cciss_scsi.c

index 3315268..237d2b3 100644 (file)
@@ -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??? */