Suresh Siddha 04e2ea6706 dmar: use list_for_each_entry_safe() in dmar_dev_scope_init()
In dmar_dev_scope_init(), functions called under for_each_drhd_unit()/
for_each_rmrr_units() can delete the list entry under some error conditions.

So we should use list_for_each_entry_safe() for safe traversal.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-16 16:53:05 +02:00
..
2008-08-26 00:19:28 +10:00
2008-10-09 15:33:57 +02:00
2008-10-16 16:52:05 +02:00
2008-10-16 16:52:06 +02:00
2008-09-03 15:55:32 -07:00
2008-10-16 16:52:56 +02:00
2008-10-16 16:52:06 +02:00