From: Andy Lutomirski Date: Mon, 13 May 2013 22:22:42 +0000 (-0700) Subject: iommu/vt-d: Downgrade the warning if enabling irq remapping fails X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d01140df6a32554728ab055f2d82f8028a73d2f5;p=openwrt%2Fstaging%2Fblogic.git iommu/vt-d: Downgrade the warning if enabling irq remapping fails This triggers on a MacBook Pro. See https://bugzilla.redhat.com/show_bug.cgi?id=948262 for the problem report. Signed-off-by: Andy Lutomirski Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5b19b2d6ec2d..f71673dbb23d 100644 --- a/drivers/iommu/intel_irq_remapping.c +++ b/drivers/iommu/intel_irq_remapping.c @@ -664,8 +664,7 @@ error: */ if (x2apic_present) - WARN(1, KERN_WARNING - "Failed to enable irq remapping. You are vulnerable to irq-injection attacks.\n"); + pr_warn("Failed to enable irq remapping. You are vulnerable to irq-injection attacks.\n"); return -1; }