From: korantwork@gmail.com
To: dave.hansen@intel.com, luto@kernel.org
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org,
Xinghui Li <korantli@tencent.com>
Subject: [PATCH] x86/mm: fix the code style issue about "foo* bar"
Date: Tue, 29 Nov 2022 17:25:46 +0800 [thread overview]
Message-ID: <20221129092546.62895-1-korantwork@gmail.com> (raw)
From: Xinghui Li <korantli@tencent.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@tencent.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
reply other threads:[~2022-11-29 9:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221129092546.62895-1-korantwork@gmail.com \
--to=korantwork@gmail.com \
--cc=dave.hansen@intel.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=korantli@tencent.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox