Skip to content

Commit

Permalink
iommu/vt-d: Downgrade the warning if enabling irq remapping fails
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
amluto authored and joergroedel committed Jun 20, 2013
1 parent 7d13205 commit d01140d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/iommu/intel_irq_remapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,7 @@ static int __init intel_enable_irq_remapping(void)
*/

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;
}
Expand Down

0 comments on commit d01140d

Please sign in to comment.