Skip to contentSkip to conversation

Fix some typos in comments

PATCH In review Frediano Ziglio 2 participants 3 messages Feb 1, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix some typos in comments

---
 arch/x86/include/arch/processor.h | 2 +-
 include/xen/hvm/params.h          | 2 +-
 include/xtf/console.h             | 2 +-
 include/xtf/extable.h             | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
arch/x86/include/arch/processor.h +1 -1
index 0c33545..1c7e655 100644
@@ -101,7 +101,7 @@
 #define X86_EXC_TS            10 /* Invalid TSS. */
 #define X86_EXC_NP            11 /* Segment Not Present. */
 #define X86_EXC_SS            12 /* Stack-Segment Fault. */
-#define X86_EXC_GP            13 /* General Porection Fault. */
+#define X86_EXC_GP            13 /* General Protection Fault. */
 #define X86_EXC_PF            14 /* Page Fault. */
 #define X86_EXC_SPV           15 /* PIC Spurious Interrupt Vector. */
 #define X86_EXC_MF            16 /* Maths fault (x87 FPU). */
include/xen/hvm/params.h +1 -1
index 886b986..0b7c05b 100644
@@ -1,5 +1,5 @@
 /*
- * Xen public hvm paramter index
+ * Xen public hvm parameter index
  */
 
 #ifndef XEN_PUBLIC_HVM_PARAMS_H
include/xtf/console.h +1 -1
index caec790..16a6a23 100644
@@ -11,7 +11,7 @@
 typedef void (*cons_output_cb)(const char *buf, size_t len);
 
 /*
- * Register a console callback.  Several callbacks can be registered for usful
+ * Register a console callback.  Several callbacks can be registered for useful
  * destinations of console text.
  */
 void register_console_callback(cons_output_cb cb);
include/xtf/extable.h +2 -2
index e93331e..0668b7d 100644
@@ -4,8 +4,8 @@
  * Exception table support.
  *
  * Allows code to tag an instruction which might fault, and where to jump to
- * in order to recover.  For more complicated recovery, a cusom handler
- * handler can be registerd.
+ * in order to recover.  For more complicated recovery, a custom handler
+ * can be registered.
  */
 #ifndef XTF_EXTABLE_H
 #define XTF_EXTABLE_H
Signature · 1 line
2.43.0
#1 lore raw
Quoted 7 lines · Frediano Ziglio
---
 arch/x86/include/arch/processor.h | 2 +-
 include/xen/hvm/params.h          | 2 +-
 include/xtf/console.h             | 2 +-
 include/xtf/extable.h             | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

This looks like an XTF patch?

Considering that I do try to remember to spell check before committing, I'm somewhat embarrassed by this.

~Andrew

Reviewed-by
#2 lore raw
Quoted 9 lines · Andrew Cooper
Quoted 7 lines · Frediano Ziglio
---
 arch/x86/include/arch/processor.h | 2 +-
 include/xen/hvm/params.h          | 2 +-
 include/xtf/console.h             | 2 +-
 include/xtf/extable.h             | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

This looks like an XTF patch?

Given that it applies cleanly, that will be a yes.

Thanks.