From: Alexey Dobriyan Date: Mon, 5 Nov 2007 22:50:52 +0000 (-0800) Subject: Dump stack during sysctl registration failure X-Git-Tag: upstream/snapshot3+hdmi~29179 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5db6a4dac1c7f459af2f895f6889346cedd467a1;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 ed6fe51..5a2f2b2 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; }