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>
This commit is contained in:
Родитель
aa43f11147
Коммит
b0e15f6db1
|
@ -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??? */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче