Skip to content

Commit

Permalink
PCI/DMAR: don't assume presence of RMRRs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yong Wang authored and Jesse Barnes committed Jul 22, 2008
1 parent e4268aa commit f42e86d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/pci/dmar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f42e86d

Please sign in to comment.