diff options
author | Will Newton <will.newton@gmail.com> | 2011-01-12 16:59:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 08:03:07 -0800 |
commit | 48a0b7404db9b83799e97a7d599fceb8df66bf59 (patch) | |
tree | 4350bfd2c1336aa36f16264c13874b36948615f0 /scripts | |
parent | 94295e2305b4f4bf538dbdf9870fe04777320b75 (diff) |
arch/um/drivers/line.c: safely iterate over list of winch handlers
unregister_winch() should use list_for_each_safe(), as it can delete from
the list.
Signed-off-by: Will Newton <will.newton@gmail.com>
Cc: richard -rw- weinberger <richard.weinberger@gmail.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions