lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 29 Nov 2022 17:25:46 +0800
From:   korantwork@...il.com
To:     dave.hansen@...el.com, luto@...nel.org
Cc:     x86@...nel.org, linux-kernel@...r.kernel.org,
        kernel-janitors@...r.kernel.org, Xinghui Li <korantli@...cent.com>
Subject: [PATCH] x86/mm: fix the code style issue about "foo* bar"

From: Xinghui Li <korantli@...cent.com>

Fix the error:

'ERROR: "(foo*)" should be "(foo *)"
688: FILE: arch/x86/mm/fault.c:688:
+		call_on_stack(__this_cpu_ist_top_va(DF) - sizeof(void*),'
reported by checkpatch.pl.

Signed-off-by: Xinghui Li <korantli@...cent.com>
---
 arch/x86/mm/fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 7b0d4ab894c8..3f014cdd85f1 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -685,7 +685,7 @@ page_fault_oops(struct pt_regs *regs, unsigned long error_code,
 		 * and then double-fault, though, because we're likely to
 		 * break the console driver and lose most of the stack dump.
 		 */
-		call_on_stack(__this_cpu_ist_top_va(DF) - sizeof(void*),
+		call_on_stack(__this_cpu_ist_top_va(DF) - sizeof(void *),
 			      handle_stack_overflow,
 			      ASM_CALL_ARG3,
 			      , [arg1] "r" (regs), [arg2] "r" (address), [arg3] "r" (&info));
-- 
2.38.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ