git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d04bd
)
dmar: use list_for_each_entry_safe() in dmar_dev_scope_init()
author
Suresh Siddha
<suresh.b.siddha@intel.com>
Wed, 3 Sep 2008 23:58:34 +0000
(16:58 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:53:05 +0000
(16:53 +0200)
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>
drivers/pci/dmar.c
patch
|
blob
|
history
diff --cc
drivers/pci/dmar.c
Simple merge