summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorYong Wang <yong.y.wang@linux.intel.com>2008-07-22 14:14:18 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-07-22 14:14:18 -0700
commitf42e86d95fa53d3a62b2795515da18b4f41b0480 (patch)
tree9c856f3b25a3b29d977711895e4da14f982616cb /drivers/pci
parente4268aad42e9f37d01925022830b16bab3d0d5af (diff)
downloadlinux-3.10-f42e86d95fa53d3a62b2795515da18b4f41b0480.tar.gz
linux-3.10-f42e86d95fa53d3a62b2795515da18b4f41b0480.tar.bz2
linux-3.10-f42e86d95fa53d3a62b2795515da18b4f41b0480.zip
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 <yong.y.wang@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: mark gross <mgross@linux.intel.com> Cc: Keshavamurthy, Anil S <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/dmar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index f941f609dbf..8bf86ae2333 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;
}