diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-12 12:26:33 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-13 03:51:04 -0400 |
commit | ed88bed881c9948c4035828c5d63f60c7b015f86 (patch) | |
tree | 26c925a21408b16c83c9a8099d0dd962b442d9ee /drivers/iommu | |
parent | 4988a40c3981212fa8c64da68722affc1cb6697a (diff) |
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@oracle.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: Alexander Gordeev <agordeev@redhat.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/20120612162633.GA11077@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | 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 dafbad06390a..853902a1b7db 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, | |||
938 | 938 | ||
939 | err = apic->cpu_mask_to_apicid_and(cfg->domain, mask, &dest); | 939 | err = apic->cpu_mask_to_apicid_and(cfg->domain, mask, &dest); |
940 | if (err) { | 940 | if (err) { |
941 | if (assign_irq_vector(irq, cfg, data->affinity)); | 941 | if (assign_irq_vector(irq, cfg, data->affinity)) |
942 | pr_err("Failed to recover vector for irq %d\n", irq); | 942 | pr_err("Failed to recover vector for irq %d\n", irq); |
943 | return err; | 943 | return err; |
944 | } | 944 | } |