]> err.no Git - linux-2.6/commitdiff
[PATCH] Fix generic WARN_ON message
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 8 Dec 2006 10:36:24 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:39 +0000 (08:28 -0800)
A warning is a warning, not a BUG.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/bug.h

index 47e3561638b15b2647ebcc858ca0ea9615f0a319..a06eecd48292a68d4611b43e263390b4320f7c15 100644 (file)
@@ -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();                                           \
        }                                                               \