projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8605ae
)
[PATCH] Fix generic WARN_ON message
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Fri, 8 Dec 2006 10:36:24 +0000
(
02:36
-0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-generic/bug.h
b/include/asm-generic/bug.h
index 47e3561638b15b2647ebcc858ca0ea9615f0a319..a06eecd48292a68d4611b43e263390b4320f7c15 100644
(file)
--- a/
include/asm-generic/bug.h
+++ b/
include/asm-generic/bug.h
@@
-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(); \
} \