Skip to contentSkip to conversation

x86/cpu: Fix mixed tabs/spaces

PATCH In review Andrew Cooper 2 participants 3 messages Feb 5, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/cpu: Fix mixed tabs/spaces

Fixes 660f8a75013c ("x86/CPU: convert vendor hook invocations to altcall")

---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>

---
 xen/arch/x86/cpu/common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/cpu/common.c +2 -2
index 26eed2ade1e3..28d7f34c4dbe 100644
@@ -336,8 +336,8 @@ void __init early_cpu_init(bool verbose)
 
 	c->x86_vendor = x86_cpuid_lookup_vendor(ebx, ecx, edx);
 	switch (c->x86_vendor) {
-	case X86_VENDOR_INTEL:	  actual_cpu = intel_cpu_dev;    break;
-	case X86_VENDOR_AMD:	  actual_cpu = amd_cpu_dev;      break;
+	case X86_VENDOR_INTEL:    actual_cpu = intel_cpu_dev;    break;
+	case X86_VENDOR_AMD:      actual_cpu = amd_cpu_dev;      break;
 	case X86_VENDOR_CENTAUR:  actual_cpu = centaur_cpu_dev;  break;
 	case X86_VENDOR_SHANGHAI: actual_cpu = shanghai_cpu_dev; break;
 	case X86_VENDOR_HYGON:    actual_cpu = hygon_cpu_dev;    break;

base-commit: 9eee78988ca081eeed0a69fc9773e2e4268d1ed7

Signature · 1 line
2.30.2
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Andrew Cooper
Fixes 660f8a75013c ("x86/CPU: convert vendor hook invocations to altcall")

Without the (or at least this very) Fixes: tag

The patch you mention didn't touch the padding at all. (It also didn't correct the prior inconsistency, but that's mainly because I didn't even notice.)

Jan

Quoted 15 lines
xen/arch/x86/cpu/common.c +2 -2
@@ -336,8 +336,8 @@ void __init early_cpu_init(bool verbose)
 
 	c->x86_vendor = x86_cpuid_lookup_vendor(ebx, ecx, edx);
 	switch (c->x86_vendor) {
-	case X86_VENDOR_INTEL:	  actual_cpu = intel_cpu_dev;    break;
-	case X86_VENDOR_AMD:	  actual_cpu = amd_cpu_dev;      break;
+	case X86_VENDOR_INTEL:    actual_cpu = intel_cpu_dev;    break;
+	case X86_VENDOR_AMD:      actual_cpu = amd_cpu_dev;      break;
 	case X86_VENDOR_CENTAUR:  actual_cpu = centaur_cpu_dev;  break;
 	case X86_VENDOR_SHANGHAI: actual_cpu = shanghai_cpu_dev; break;
 	case X86_VENDOR_HYGON:    actual_cpu = hygon_cpu_dev;    break;

base-commit: 9eee78988ca081eeed0a69fc9773e2e4268d1ed7

#2 lore raw
Quoted 8 lines · Jan Beulich
Quoted 2 lines · Andrew Cooper
Fixes 660f8a75013c ("x86/CPU: convert vendor hook invocations to altcall")

Without the (or at least this very) Fixes: tag

The patch you mention didn't touch the padding at all. (It also didn't correct the prior inconsistency, but that's mainly because I didn't even notice.)

Oh, right.  I'll drop the fixes tag.

~Andrew