Skip to contentSkip to conversation

x86/intel: fix indentation

PATCH In review Roger Pau Monne 2 participants 3 messages Nov 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/intel: fix indentation

Adjust line to use a hard tab and align using spaces afterwards, instead of using all spaces.

Fixes fc3090a47b21 ('x86/boot: Clear XD_DISABLE from the early boot path')

---
Realized while doing backports, not sure if it's worth fixing on it's own.

---
 xen/arch/x86/cpu/intel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/cpu/intel.c +1 -1
index a8ba3191e618..dfee64689ffe 100644
@@ -307,7 +307,7 @@ static void cf_check early_init_intel(struct cpuinfo_x86 *c)
 		c->x86_cache_alignment = 128;
 
 	if (c == &boot_cpu_data &&
-            bootsym(trampoline_misc_enable_off) & MSR_IA32_MISC_ENABLE_XD_DISABLE)
+	    bootsym(trampoline_misc_enable_off) & MSR_IA32_MISC_ENABLE_XD_DISABLE)
 		printk(KERN_INFO "re-enabled NX (Execute Disable) protection\n");
 
 	/* Unmask CPUID levels and NX if masked: */
Signature · 1 line
2.42.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Roger Pau Monne

Adjust line to use a hard tab and align using spaces afterwards, instead of using all spaces.

Fixes fc3090a47b21 ('x86/boot: Clear XD_DISABLE from the early boot path')
Quoted 2 lines

---
Realized while doing backports, not sure if it's worth fixing on it's own.

Fine for staging, but regardless of the Fixes: tag not a backporting candidate imo.

Jan

#2 lore raw
Quoted 7 lines · Jan Beulich
Quoted 5 lines · Roger Pau Monne

Adjust line to use a hard tab and align using spaces afterwards, instead of using all spaces.

Fixes fc3090a47b21 ('x86/boot: Clear XD_DISABLE from the early boot path')
Quoted 7 lines
Quoted 2 lines

---
Realized while doing backports, not sure if it's worth fixing on it's own.

Fine for staging, but regardless of the Fixes: tag not a backporting candidate imo.

No, not unless there's a further backport that requires the adjusted context maybe.

Thanks, Roger.