iommu/vt-d: Downgrade the warning if enabling irq remapping fails
authorAndy Lutomirski <luto@amacapital.net>
Mon, 13 May 2013 22:22:42 +0000 (15:22 -0700)
committerJoerg Roedel <joro@8bytes.org>
Thu, 20 Jun 2013 14:37:43 +0000 (16:37 +0200)
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 <luto@amacapital.net>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel_irq_remapping.c

index 5b19b2d..f71673d 100644 (file)
@@ -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;
 }