summaryrefslogtreecommitdiff
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorGeorge Prekas <prekageo@amazon.com>2021-02-26 04:22:34 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-26 20:41:05 +0300
commitdb7fbf492d94a0b59d8f85b3184231662586dea9 (patch)
treeadfd16adb5fc0ad46a05fb60f8753ff80ae0232c /crypto/lz4hc.c
parent3d2fc4c082448e9c05792f9b2a11c1d5db408b85 (diff)
downloadlinux-db7fbf492d94a0b59d8f85b3184231662586dea9.tar.xz
scripts/gdb: fix list_for_each
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>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions