Skip to contentSkip to conversation

xen: fix typos in comments

PATCH In review Hemanth Selam 2 participants 2 messages Sep 7

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

PATCH 1/1 xen: fix typos in comments

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/scsi/xen-scsifront.c     | 2 +-
 drivers/xen/mcelog.c             | 2 +-
 include/xen/interface/platform.h | 4 ++--
 include/xen/interface/xen.h      | 2 +-
 include/xen/xenbus.h             | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
drivers/scsi/xen-scsifront.c +1 -1
index 989bcaee42ca..f86a47056ea8 100644
@@ -1076,7 +1076,7 @@ static void scsifront_do_lun_hotplug(struct vscsifrnt_info *info, int op)
 
 		/*
 		 * Front device state path, used in sdev_configure called
-		 * on successfull scsi_add_device, and in sdev_destroy called
+		 * on successful scsi_add_device, and in sdev_destroy called
 		 * on remove of a device.
 		 */
 		snprintf(info->dev_state_path, sizeof(info->dev_state_path),
drivers/xen/mcelog.c +1 -1
index 32ab419bb503..f19cc7a67f36 100644
@@ -1,6 +1,6 @@
 /******************************************************************************
  * mcelog.c
- * Driver for receiving and transferring machine check error infomation
+ * Driver for receiving and transferring machine check error information
  *
  * Copyright (c) 2012 Intel Corporation
  * Author: Liu, Jinsong <[email protected]>
include/xen/interface/platform.h +2 -2
index 79a443c65ea9..462e36392a9f 100644
@@ -421,10 +421,10 @@ struct xenpf_pcpuinfo {
 	/* IN */
 	uint32_t xen_cpuid;
 	/* OUT */
-	/* The maxium cpu_id that is present */
+	/* The maximum cpu_id that is present */
 	uint32_t max_present;
 #define XEN_PCPU_FLAGS_ONLINE   1
-	/* Correponding xen_cpuid is not present*/
+	/* Corresponding xen_cpuid is not present*/
 #define XEN_PCPU_FLAGS_INVALID  2
 	uint32_t flags;
 	uint32_t apic_id;
include/xen/interface/xen.h +1 -1
index 40c9793e9880..f9acb21875cf 100644
@@ -94,7 +94,7 @@
 #define VIRQ_XENOPROF   7  /* V. XenOprofile interrupt: new sample available */
 #define VIRQ_CON_RING   8  /* G. (DOM0) Bytes received on console            */
 #define VIRQ_PCPU_STATE 9  /* G. (DOM0) PCPU state changed                   */
-#define VIRQ_MEM_EVENT  10 /* G. (DOM0) A memory event has occured           */
+#define VIRQ_MEM_EVENT  10 /* G. (DOM0) A memory event has occurred           */
 #define VIRQ_XC_RESERVED 11 /* G. Reserved for XenClient                     */
 #define VIRQ_ENOMEM     12 /* G. (DOM0) Low on heap memory       */
 #define VIRQ_XENPMU     13  /* PMC interrupt                                 */
include/xen/xenbus.h +1 -1
index 8ca15743af7f..6424c5cf8ef5 100644
@@ -63,7 +63,7 @@ struct xenbus_watch
 	unsigned int nr_pending;
 
 	/*
-	 * Called just before enqueing new event while a spinlock is held.
+	 * Called just before enqueuing new event while a spinlock is held.
 	 * The event will be discarded if this callback returns false.
 	 */
 	bool (*will_handle)(struct xenbus_watch *,
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 75 lines · Hemanth Selam

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/scsi/xen-scsifront.c     | 2 +-
 drivers/xen/mcelog.c             | 2 +-
 include/xen/interface/platform.h | 4 ++--
 include/xen/interface/xen.h      | 2 +-
 include/xen/xenbus.h             | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
drivers/scsi/xen-scsifront.c +1 -1
index 989bcaee42ca..f86a47056ea8 100644
@@ -1076,7 +1076,7 @@ static void scsifront_do_lun_hotplug(struct vscsifrnt_info *info, int op)
 
                /*
                 * Front device state path, used in sdev_configure called
-                * on successfull scsi_add_device, and in sdev_destroy called
+                * on successful scsi_add_device, and in sdev_destroy called
                 * on remove of a device.
                 */
                snprintf(info->dev_state_path, sizeof(info->dev_state_path),
drivers/xen/mcelog.c +1 -1
index 32ab419bb503..f19cc7a67f36 100644
@@ -1,6 +1,6 @@
 /******************************************************************************
  * mcelog.c
- * Driver for receiving and transferring machine check error infomation
+ * Driver for receiving and transferring machine check error information
  *
  * Copyright (c) 2012 Intel Corporation
  * Author: Liu, Jinsong <[email protected]>
include/xen/interface/platform.h +2 -2
index 79a443c65ea9..462e36392a9f 100644
@@ -421,10 +421,10 @@ struct xenpf_pcpuinfo {
        /* IN */
        uint32_t xen_cpuid;
        /* OUT */
-       /* The maxium cpu_id that is present */
+       /* The maximum cpu_id that is present */
        uint32_t max_present;
 #define XEN_PCPU_FLAGS_ONLINE   1
-       /* Correponding xen_cpuid is not present*/
+       /* Corresponding xen_cpuid is not present*/
 #define XEN_PCPU_FLAGS_INVALID  2
        uint32_t flags;
        uint32_t apic_id;
include/xen/interface/xen.h +1 -1
index 40c9793e9880..f9acb21875cf 100644
@@ -94,7 +94,7 @@
 #define VIRQ_XENOPROF   7  /* V. XenOprofile interrupt: new sample available */
 #define VIRQ_CON_RING   8  /* G. (DOM0) Bytes received on console            */
 #define VIRQ_PCPU_STATE 9  /* G. (DOM0) PCPU state changed                   */
-#define VIRQ_MEM_EVENT  10 /* G. (DOM0) A memory event has occured           */
+#define VIRQ_MEM_EVENT  10 /* G. (DOM0) A memory event has occurred           */
 #define VIRQ_XC_RESERVED 11 /* G. Reserved for XenClient                     */
 #define VIRQ_ENOMEM     12 /* G. (DOM0) Low on heap memory       */
 #define VIRQ_XENPMU     13  /* PMC interrupt                                 */
include/xen/xenbus.h +0 -0
index 8ca15743af7f..6424c5cf8ef5 100644

include/xen/xenbus.h struct xenbus_watch · line 69

Quoted 8 lines
include/xen/xenbus.h +1 -1
@@ -63,7 +63,7 @@ struct xenbus_watch
        unsigned int nr_pending;
 
        /*
-        * Called just before enqueing new event while a spinlock is held.
+        * Called just before enqueuing new event while a spinlock is held.
         * The event will be discarded if this callback returns false.
         */
        bool (*will_handle)(struct xenbus_watch *,

Frediano