[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-ed88bed881c9948c4035828c5d63f60c7b015f86@git.kernel.org>
Date: Thu, 14 Jun 2012 01:38:29 -0700
From: tip-bot for Dan Carpenter <dan.carpenter@...cle.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, agordeev@...hat.com, hpa@...or.com,
mingo@...nel.org, yinghai@...nel.org, joerg.roedel@....com,
suresh.b.siddha@...el.com, tglx@...utronix.de,
dan.carpenter@...cle.com
Subject: [tip:x86/apic] x86/apic/irq_remap: Silence a bogus pr_err()
Commit-ID: ed88bed881c9948c4035828c5d63f60c7b015f86
Gitweb: http://git.kernel.org/tip/ed88bed881c9948c4035828c5d63f60c7b015f86
Author: Dan Carpenter <dan.carpenter@...cle.com>
AuthorDate: Tue, 12 Jun 2012 19:26:33 +0300
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Wed, 13 Jun 2012 09:51:04 +0200
x86/apic/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>
Acked-by: Yinghai Lu <yinghai@...nel.org>
Cc: Alexander Gordeev <agordeev@...hat.com>
Cc: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: Joerg Roedel <joerg.roedel@....com>
Link: http://lkml.kernel.org/r/20120612162633.GA11077@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
drivers/iommu/intel_irq_remapping.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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