[PATCH 06/22] usb: core: fix a few spelling mistakes in comments

From: Shunbo Shi

Date: Tue Nov 10 2026 - 01:45:16 EST


No functional changes.

Signed-off-by: Shunbo Shi <shishunbo@xxxxxxxxxxxxxxxxxxxx>
---
drivers/usb/core/driver.c | 2 +-
drivers/usb/core/hub.c | 8 ++++----
drivers/usb/core/port.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index d3a61ebc6afb..fbbdcaed9bad 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -806,7 +806,7 @@ EXPORT_SYMBOL_GPL(usb_match_one_id);
* vendor-specific, and hence matching against a standard product
* class wouldn't work anyway. If you really want to use an
* interface-based match for such a device, create a match record
- * that also specifies the vendor ID. (Unforunately there isn't a
+ * that also specifies the vendor ID. (Unfortunately there isn't a
* standard macro for creating records like this.)
*
* Within those groups, remember that not all combinations are
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 199d3f535a89..9478b23e506d 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -215,7 +215,7 @@ int usb_device_supports_lpm(struct usb_device *udev)
}

/*
- * Set the Maximum Exit Latency (MEL) for the host to wakup up the path from
+ * Set the Maximum Exit Latency (MEL) for the host to wakeup up the path from
* U1/U2, send a PING to the device and receive a PING_RESPONSE.
* See USB 3.1 section C.1.5.2
*/
@@ -4284,7 +4284,7 @@ static int usb_set_lpm_timeout(struct usb_device *udev,
}

/*
- * Don't allow device intiated U1/U2 if device isn't in the configured state,
+ * Don't allow device initiated U1/U2 if device isn't in the configured state,
* or the system exit latency + one bus interval is greater than the minimum
* service interval of any active periodic endpoint. See USB 3.2 section 9.4.9
*/
@@ -6395,10 +6395,10 @@ int usb_reset_device(struct usb_device *udev)
* Don't allocate memory with GFP_KERNEL in current
* context to avoid possible deadlock if usb mass
* storage interface or usbnet interface(iSCSI case)
- * is included in current configuration. The easist
+ * is included in current configuration. The easiest
* approach is to do it for every device reset,
* because the device 'memalloc_noio' flag may have
- * not been set before reseting the usb device.
+ * not been set before resetting the usb device.
*/
noio_flag = memalloc_noio_save();

diff --git a/drivers/usb/core/port.c b/drivers/usb/core/port.c
index b4452b665f59..33710e99e595 100644
--- a/drivers/usb/core/port.c
+++ b/drivers/usb/core/port.c
@@ -812,7 +812,7 @@ int usb_hub_create_port_device(struct usb_hub *hub, int port1)
find_and_link_peer(hub, port1);

/*
- * Enable runtime pm and hold a refernce that hub_configure()
+ * Enable runtime pm and hold a reference that hub_configure()
* will drop once the PM_QOS_NO_POWER_OFF flag state has been set
* and the hub has been fully registered (hdev->maxchild set).
*/
--
2.53.0