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:
b49c32b
)
vme: vme_ca91cx42.c: use list_for_each_safe() when delete list items
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 21 Aug 2012 04:17:34 +0000
(12:17 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 20:29:11 +0000
(13:29 -0700)
Since we will be removing items off the list using list_del() we need
to use a safer version of the list_for_each() macro aptly named
list_for_each_safe(). We should use the safe macro if the loop
involves deletions of items.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found