diff options
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 86bccb7128f9..24a54a5a91b8 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -714,7 +714,7 @@ static inline int ahci_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc) | |||
714 | ci = readl(port_mmio + PORT_CMD_ISSUE); | 714 | ci = readl(port_mmio + PORT_CMD_ISSUE); |
715 | if (likely((ci & 0x1) == 0)) { | 715 | if (likely((ci & 0x1) == 0)) { |
716 | if (qc) { | 716 | if (qc) { |
717 | assert(qc->err_mask == 0); | 717 | WARN_ON(qc->err_mask); |
718 | ata_qc_complete(qc); | 718 | ata_qc_complete(qc); |
719 | qc = NULL; | 719 | qc = NULL; |
720 | } | 720 | } |