[SCSI] qla1280: use SAM_ constants
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thiemo Seufer <ths@linux-mips.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Этот коммит содержится в:

коммит произвёл
James Bottomley

родитель
2b55cac3d2
Коммит
d6db3e8d5f
@@ -4049,7 +4049,7 @@ qla1280_status_entry(struct scsi_qla_host *ha, struct response *pkt,
|
||||
/* Save ISP completion status */
|
||||
CMD_RESULT(cmd) = qla1280_return_status(pkt, cmd);
|
||||
|
||||
if (scsi_status & SS_CHECK_CONDITION) {
|
||||
if (scsi_status & SAM_STAT_CHECK_CONDITION) {
|
||||
if (comp_status != CS_ARS_FAILED) {
|
||||
uint16_t req_sense_length =
|
||||
le16_to_cpu(pkt->req_sense_length);
|
||||
|
Ссылка в новой задаче
Block a user