From: Alexey Dobriyan Date: Mon, 5 Nov 2007 22:50:52 +0000 (-0800) Subject: Dump stack during sysctl registration failure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5db6a4dac1c7f459af2f895f6889346cedd467a1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Dump stack during sysctl registration failure Let's make immediately obvious from where sysctl comes from and messages itself more noticeable. Signed-off-by: Alexey Dobriyan Acked-by: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c index ed6fe51df77a..5a2f2b2bf888 100644 --- a/kernel/sysctl_check.c +++ b/kernel/sysctl_check.c @@ -1432,6 +1432,7 @@ static void set_fail(const char **fail, struct ctl_table *table, const char *str printk(KERN_ERR "sysctl table check failed: "); sysctl_print_path(table); printk(" %s\n", *fail); + dump_stack(); } *fail = str; }