git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
panic: Allow warnings to set different taint flags
[safe/jmp/linux-2.6]
/
lib
/
bug.c
diff --git
a/lib/bug.c
b/lib/bug.c
index
300e41a
..
f13daf4
100644
(file)
--- a/
lib/bug.c
+++ b/
lib/bug.c
@@
-165,7
+165,7
@@
enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs)
(void *)bugaddr);
show_regs(regs);
- add_taint(
TAINT_WARN
);
+ add_taint(
BUG_GET_TAINT(bug)
);
return BUG_TRAP_TYPE_WARN;
}