[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120612162633.GA11077@elgon.mountain>
Date: Tue, 12 Jun 2012 19:26:33 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Joerg Roedel <joerg.roedel@....com>
Cc: Suresh Siddha <suresh.b.siddha@...el.com>,
Yinghai Lu <yinghai@...nel.org>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: [patch -next] irq_remap: silence a bogus pr_err()
There is an extra semicolon here so the pr_err() message is printed when
it is not intended.
Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c
index dafbad0..853902a 100644
--- a/drivers/iommu/intel_irq_remapping.c
+++ b/drivers/iommu/intel_irq_remapping.c
@@ -938,7 +938,7 @@ intel_ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask,
err = apic->cpu_mask_to_apicid_and(cfg->domain, mask, &dest);
if (err) {
- if (assign_irq_vector(irq, cfg, data->affinity));
+ if (assign_irq_vector(irq, cfg, data->affinity))
pr_err("Failed to recover vector for irq %d\n", irq);
return err;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists