]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
list debugging: use WARN() instead of BUG()
authorDave Jones <davej@redhat.com>
Fri, 25 Jul 2008 08:45:55 +0000 (01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:29 +0000 (10:53 -0700)
commit924d9addb9b1474fc81a78a5c6706755efea7aaa
tree27dc56aa21fa948df8d50192225c1529f4c81c57
parentd955c78ac4699ac9c3fe07be62982cda13d13267
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>
lib/list_debug.c