Skip to contentSkip to conversation

Fix typo in comment (indicies -> indices)

PATCH In review Frediano Ziglio 2 participants 2 messages Jul 6 – Jul 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in comment (indicies -> indices)

From: Frediano Ziglio <[email protected]>

---
 xen/arch/x86/traps-setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/traps-setup.c +1 -1
index a79a3b2013..3fe79ff0d0 100644
@@ -245,7 +245,7 @@ static void __init init_ler(void)
 
     /*
      * Intel Pentium 4 is the only known CPU to not use the architectural MSR
-     * indicies.
+     * indices.
      */
     switch ( boot_cpu_data.vendor )
     {
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Frediano Ziglio

From: Frediano Ziglio <[email protected]>

However, I question such a change to be worthwhile the overhead. If this was a widespread issue, sure. If there were many typos that are being corrected in one go, perhaps. But otherwise best to correct when the comment (or at least adjacent code) needs touching anyway.

Jan

Quoted 11 lines
xen/arch/x86/traps-setup.c +1 -1
@@ -245,7 +245,7 @@ static void __init init_ler(void)
 
     /*
      * Intel Pentium 4 is the only known CPU to not use the architectural MSR
-     * indicies.
+     * indices.
      */
     switch ( boot_cpu_data.vendor )
     {