diff options
author | 2008-07-25 01:45:55 -0700 | |
---|---|---|
committer | 2008-07-25 10:53:29 -0700 | |
commit | 924d9addb9b1474fc81a78a5c6706755efea7aaa (patch) | |
tree | 27dc56aa21fa948df8d50192225c1529f4c81c57 /include/linux/kernel.h | |
parent | Example use of WARN() (diff) | |
download | wireguard-linux-924d9addb9b1474fc81a78a5c6706755efea7aaa.tar.xz wireguard-linux-924d9addb9b1474fc81a78a5c6706755efea7aaa.zip |
list debugging: use WARN() instead of BUG()
Arjan noted that the list_head debugging is BUG'ing when it detects
corruption. By causing the box to panic immediately, we're possibly
losing some bug reports. Changing this to a WARN() should mean we at the
least start seeing reports collected at kerneloops.org
Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions