mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch -next] irq_remap: silence a bogus pr_err()
@ 2012-06-12 16:26 Dan Carpenter
  2012-06-12 16:44 ` Yinghai Lu
  2012-06-14  8:38 ` [tip:x86/apic] x86/apic/irq_remap: Silence " tip-bot for Dan Carpenter
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2012-06-12 16:26 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: Suresh Siddha, Yinghai Lu, Ingo Molnar, Thomas Gleixner,
	linux-kernel, kernel-janitors

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@oracle.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;
 	}

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-14  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 16:26 [patch -next] irq_remap: silence a bogus pr_err() Dan Carpenter
2012-06-12 16:44 ` Yinghai Lu
2012-06-14  8:38 ` [tip:x86/apic] x86/apic/irq_remap: Silence " tip-bot for Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®