mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
54371a43a6
commit
b719ac56c0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue