projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40fc756
)
x86/delay: Fix inconsistent whitespace
author
Charles Han
<hanchunchao@inspur.com>
Wed, 5 Mar 2025 06:35:14 +0000
(14:35 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 5 Mar 2025 08:51:04 +0000
(09:51 +0100)
Smatch warns about this whitespace damage:
arch/x86/lib/delay.c:134 delay_halt_mwaitx() warn: inconsistent indenting
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link:
https://lore.kernel.org/r/20250305063515.3951-1-hanchunchao@inspur.com
arch/x86/lib/delay.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/lib/delay.c
b/arch/x86/lib/delay.c
index 23f81ca3f06b41e33ef6ffe489f0a6596a1fb737..e86eda2c0b0409c2791a347f63de77f5ffe51081 100644
(file)
--- a/
arch/x86/lib/delay.c
+++ b/
arch/x86/lib/delay.c
@@
-131,7
+131,7
@@
static void delay_halt_mwaitx(u64 unused, u64 cycles)
* Use cpu_tss_rw as a cacheline-aligned, seldom accessed per-cpu
* variable as the monitor target.
*/
-
__monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0);
+ __monitorx(raw_cpu_ptr(&cpu_tss_rw), 0, 0);
/*
* AMD, like Intel, supports the EAX hint and EAX=0xf means, do not