scsi: core: Introduce enum scsi_disposition
[linux-2.6-microblaze.git] / drivers / ata / libata-eh.c
index b6f9205..5352be2 100644 (file)
@@ -1599,7 +1599,7 @@ static unsigned int ata_eh_analyze_tf(struct ata_queued_cmd *qc,
        }
 
        if (qc->flags & ATA_QCFLAG_SENSE_VALID) {
-               int ret = scsi_check_sense(qc->scsicmd);
+               enum scsi_disposition ret = scsi_check_sense(qc->scsicmd);
                /*
                 * SUCCESS here means that the sense code could be
                 * evaluated and should be passed to the upper layers