summaryrefslogtreecommitdiffstats
path: root/kernel/rcupdate.c
diff options
context:
space:
mode:
authorWei Yongjun2012-08-21 06:17:34 +0200
committerGreg Kroah-Hartman2012-09-06 22:29:11 +0200
commit43f5e46c8e74046a969a3811d7760d1988a8f4bf (patch)
tree1d4f49197feaf0cd667703fe930c15da4e81f566 /kernel/rcupdate.c
parentvme: vme_tsi148.c: fix to use list_for_each_safe() when delete list items (diff)
downloadkernel-qcow2-linux-43f5e46c8e74046a969a3811d7760d1988a8f4bf.tar.gz
kernel-qcow2-linux-43f5e46c8e74046a969a3811d7760d1988a8f4bf.tar.xz
kernel-qcow2-linux-43f5e46c8e74046a969a3811d7760d1988a8f4bf.zip
vme: vme_ca91cx42.c: use list_for_each_safe() when delete list items
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>
Diffstat (limited to 'kernel/rcupdate.c')
0 files changed, 0 insertions, 0 deletions