mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-30 19:07:15 +00:00
If the list is uninitialized (next pointer is NULL), list_for_each gets stuck in an infinite loop. Print a message and treat list as empty. Link: https://lkml.kernel.org/r/4ae23bb1-c333-f669-da2d-fa35c4f49018@amazon.com Signed-off-by: George Prekas <prekageo@amazon.com> Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com> Cc: Kieran Bingham <kbingham@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.gitignore | ||
__init__.py | ||
clk.py | ||
config.py | ||
constants.py.in | ||
cpus.py | ||
device.py | ||
dmesg.py | ||
genpd.py | ||
lists.py | ||
Makefile | ||
modules.py | ||
proc.py | ||
rbtree.py | ||
symbols.py | ||
tasks.py | ||
timerlist.py | ||
utils.py |