[PATCH] Fix generic WARN_ON message
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>
This commit is contained in:
parent
a8605aef81
commit
30e25b71e7
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ struct bug_entry {
|
||||||
#define WARN_ON(condition) ({ \
|
#define WARN_ON(condition) ({ \
|
||||||
typeof(condition) __ret_warn_on = (condition); \
|
typeof(condition) __ret_warn_on = (condition); \
|
||||||
if (unlikely(__ret_warn_on)) { \
|
if (unlikely(__ret_warn_on)) { \
|
||||||
printk("BUG: warning at %s:%d/%s()\n", __FILE__, \
|
printk("WARNING at %s:%d %s()\n", __FILE__, \
|
||||||
__LINE__, __FUNCTION__); \
|
__LINE__, __FUNCTION__); \
|
||||||
dump_stack(); \
|
dump_stack(); \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in a new issue