Skip to content

Commit

Permalink
cciss: fix typo that causes scsi status to be lost.
Browse files Browse the repository at this point in the history
cciss: fix typo that causes scsi status to be lost.

Signed-off-by: Stephen M. Cameron <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Stephen M. Cameron authored and Jens Axboe committed Nov 13, 2009
1 parent aa43f11 commit b0e15f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/cciss_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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??? */

Expand Down

0 comments on commit b0e15f6

Please sign in to comment.