Commit 265d47e7 authored by Dave Jones's avatar Dave Jones Committed by Pekka Enberg
Browse files

slub: add taint flag outputting to debug paths

When we get corruption reports, it's useful to see if the kernel was
tainted, to rule out problems we can't do anything about.

Signed-off-by: default avatarDave Jones <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarPekka Enberg <>
parent 3df1cccd
......@@ -570,7 +570,7 @@ static void slab_bug(struct kmem_cache *s, char *fmt, ...)
printk(KERN_ERR "========================================"
printk(KERN_ERR "BUG %s: %s\n", s->name, buf);
printk(KERN_ERR "BUG %s (%s): %s\n", s->name, print_tainted(), buf);
printk(KERN_ERR "----------------------------------------"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment