kernel/drivers/scsi/libsas/sas_ata.c
.. .. @@ -122,9 +122,10 @@ 122 122 } 123 123 } 124 124 125 - if (stat->stat == SAS_PROTO_RESPONSE || stat->stat == SAM_STAT_GOOD ||126 - ((stat->stat == SAM_STAT_CHECK_CONDITION &&127 - dev->sata_dev.class == ATA_DEV_ATAPI))) {125 + if (stat->stat == SAS_PROTO_RESPONSE ||126 + stat->stat == SAS_SAM_STAT_GOOD ||127 + (stat->stat == SAS_SAM_STAT_CHECK_CONDITION &&128 + dev->sata_dev.class == ATA_DEV_ATAPI)) {128 129 memcpy(dev->sata_dev.fis, resp->ending_fis, ATA_RESP_FIS_SIZE); 129 130 130 131 if (!link->sactive) {