aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
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)
5990 */ 5990 */
5991 WARN_ON(ap->ops->error_handler && ata_tag_valid(link->active_tag)); 5991 WARN_ON(ap->ops->error_handler && ata_tag_valid(link->active_tag));
5992 5992
5993 if (prot == ATA_PROT_NCQ) { 5993 if (ata_is_ncq(prot)) {
5994 WARN_ON(link->sactive & (1 << qc->tag)); 5994 WARN_ON(link->sactive & (1 << qc->tag));
5995 5995
5996 if (!link->sactive) 5996 if (!link->sactive)