diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-04-14 10:03:50 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-26 16:15:32 +0200 |
commit | b719ac56c0032bc1602914c6ea70b0f1581b08c7 (patch) | |
tree | 08559cf024306f905e8cec67390ee88e37da0de1 /kernel/panic.c | |
parent | 54371a43a66f4477889769b4fa00df936855dc8f (diff) | |
download | lwn-b719ac56c0032bc1602914c6ea70b0f1581b08c7.tar.gz lwn-b719ac56c0032bc1602914c6ea70b0f1581b08c7.zip |
panic.c: fix whitespace additions
trivial: remove white space addition in stack protector
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 50cf9257b234..866be9b72e4f 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -341,14 +341,14 @@ static noinline void __stack_chk_test_func(void) * Besides, if we would, the test is already failed anyway so * time to pull the emergency brake on it. */ - if ((unsigned long)__builtin_return_address(0) == + if ((unsigned long)__builtin_return_address(0) == *(((unsigned long *)&foo)+1)) { printk(KERN_ERR "No -fstack-protector-stack-frame!\n"); return; } #ifdef CONFIG_FRAME_POINTER /* We also don't want to clobber the frame pointer */ - if ((unsigned long)__builtin_return_address(0) == + if ((unsigned long)__builtin_return_address(0) == *(((unsigned long *)&foo)+2)) { printk(KERN_ERR "No -fstack-protector-stack-frame!\n"); return; |