Commit b0e15f6d authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Jens Axboe
Browse files

cciss: fix typo that causes scsi status to be lost.



cciss: fix typo that causes scsi status to be lost.
Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent aa43f111
...@@ -755,7 +755,7 @@ complete_scsi_command( CommandList_struct *cp, int timeout, __u32 tag) ...@@ -755,7 +755,7 @@ complete_scsi_command( CommandList_struct *cp, int timeout, __u32 tag)
cp, cp,
ei->ScsiStatus); ei->ScsiStatus);
#endif #endif
cmd->result |= (ei->ScsiStatus < 1); cmd->result |= (ei->ScsiStatus << 1);
} }
else { /* scsi status is zero??? How??? */ else { /* scsi status is zero??? How??? */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment