diff options
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 1b83fd80b569..3458469eb7c3 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -237,11 +237,12 @@ void add_taint(unsigned flag) | |||
237 | * Can't trust the integrity of the kernel anymore. | 237 | * Can't trust the integrity of the kernel anymore. |
238 | * We don't call directly debug_locks_off() because the issue | 238 | * We don't call directly debug_locks_off() because the issue |
239 | * is not necessarily serious enough to set oops_in_progress to 1 | 239 | * is not necessarily serious enough to set oops_in_progress to 1 |
240 | * Also we want to keep up lockdep for staging development and | 240 | * Also we want to keep up lockdep for staging/out-of-tree |
241 | * post-warning case. | 241 | * development and post-warning case. |
242 | */ | 242 | */ |
243 | switch (flag) { | 243 | switch (flag) { |
244 | case TAINT_CRAP: | 244 | case TAINT_CRAP: |
245 | case TAINT_OOT_MODULE: | ||
245 | case TAINT_WARN: | 246 | case TAINT_WARN: |
246 | case TAINT_FIRMWARE_WORKAROUND: | 247 | case TAINT_FIRMWARE_WORKAROUND: |
247 | break; | 248 | break; |