mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +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
|
* Besides, if we would, the test is already failed anyway so
|
||||||
* time to pull the emergency brake on it.
|
* 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)) {
|
*(((unsigned long *)&foo)+1)) {
|
||||||
printk(KERN_ERR "No -fstack-protector-stack-frame!\n");
|
printk(KERN_ERR "No -fstack-protector-stack-frame!\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifdef CONFIG_FRAME_POINTER
|
#ifdef CONFIG_FRAME_POINTER
|
||||||
/* We also don't want to clobber the 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)) {
|
*(((unsigned long *)&foo)+2)) {
|
||||||
printk(KERN_ERR "No -fstack-protector-stack-frame!\n");
|
printk(KERN_ERR "No -fstack-protector-stack-frame!\n");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue