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 5b19b2d6ec2d337d370481af750b2c7c46afaf06..f71673dbb23da174cfd8045b0782ce38cc4b4f3a 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;
 }