From: Yong Wang Date: Tue, 22 Jul 2008 21:14:18 +0000 (-0700) Subject: PCI/DMAR: don't assume presence of RMRRs X-Git-Tag: v2.6.27-rc1~511^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f42e86d95fa53d3a62b2795515da18b4f41b0480;p=profile%2Fivi%2Fkernel-x86-ivi.git PCI/DMAR: don't assume presence of RMRRs RMRRs do not necessarily have to be present on all VT-d capable platforms. The printk is just informational and does not need to be followed by an error return. Signed-off-by: Yong Y Wang Cc: Fenghua Yu Cc: mark gross Cc: Keshavamurthy, Anil S Signed-off-by: Andrew Morton Signed-off-by: Jesse Barnes --- diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index f941f60..8bf86ae 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c @@ -317,10 +317,8 @@ int __init dmar_table_init(void) return -ENODEV; } - if (list_empty(&dmar_rmrr_units)) { + if (list_empty(&dmar_rmrr_units)) printk(KERN_INFO PREFIX "No RMRR found\n"); - return -ENODEV; - } return 0; }