From: Tejun Heo Date: Wed, 5 Dec 2007 01:36:13 +0000 (+0900) Subject: libata: convert NCQ test in ata_qc_issue() to ata_is_ncq() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1973a023a616b40ba33fd0d38b1055c62c88e73d;p=linux-beck.git libata: convert NCQ test in ata_qc_issue() to ata_is_ncq() I missed one while converting to ata_is_*() protocol test helpers. Convert it. Pointed out by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index f01c1734b1d0..2b57547bd740 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -5990,7 +5990,7 @@ void ata_qc_issue(struct ata_queued_cmd *qc) */ WARN_ON(ap->ops->error_handler && ata_tag_valid(link->active_tag)); - if (prot == ATA_PROT_NCQ) { + if (ata_is_ncq(prot)) { WARN_ON(link->sactive & (1 << qc->tag)); if (!link->sactive)