/* Indicate to the mid and upper layers that an ATA command has completed. To be used from EH.  */
void ata_eh_qc_complete(struct ata_queued_cmd *qc)
/* Indicate to the mid and upper layers that an ATA command has completed. To be used from EH.  */
void ata_eh_qc_complete(struct ata_queued_cmd *qc)
{
	struct scsi_cmnd *scmd = qc->scsicmd;
	scmd->retries = scmd->allowed;
	__ata_eh_qc_complete(qc);
}