public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix generic WARN_ON message
@ 2006-10-18  2:23 Jeremy Fitzhardinge
  2006-10-18  5:55 ` Ingo Molnar
  0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Fitzhardinge @ 2006-10-18  2:23 UTC (permalink / raw)
  To: Andrew Morton, Ingo Molnar; +Cc: Linux Kernel Mailing List

A warning is a warning, not a BUG.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Andrew Morton <akpm@osdl.org>
Cc: Ingo Molnar <mingo@elte.hu>

diff -r 6c118d4e4240 include/asm-generic/bug.h
--- a/include/asm-generic/bug.h	Tue Oct 17 12:43:22 2006 -0700
+++ b/include/asm-generic/bug.h	Tue Oct 17 18:56:59 2006 -0700
@@ -35,7 +35,7 @@ struct bug_entry {
 #define WARN_ON(condition) ({						\
 	typeof(condition) __ret_warn_on = (condition);			\
 	if (unlikely(__ret_warn_on)) {					\
-		printk("BUG: warning at %s:%d/%s()\n", __FILE__,	\
+		printk("WARNING at %s:%d %s()\n", __FILE__,	\
 			__LINE__, __FUNCTION__);			\
 		dump_stack();						\
 	}								\




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-10-25 21:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18  2:23 [PATCH] Fix generic WARN_ON message Jeremy Fitzhardinge
2006-10-18  5:55 ` Ingo Molnar
2006-10-18 18:32   ` Jeremy Fitzhardinge
2006-10-18 18:40     ` Nick Piggin
2006-10-25 10:04   ` Pavel Machek
2006-10-25 20:55     ` Steven Rostedt
2006-10-25 21:42       ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox