diff mbox series

[v2] firmware_loader: minor spelling fixes

Message ID 20241205034444.3498690-1-mcgrof@kernel.org (mailing list archive)
State New
Headers show
Series [v2] firmware_loader: minor spelling fixes | expand

Commit Message

Luis Chamberlain Dec. 5, 2024, 3:44 a.m. UTC
Run codespell on the *.[ch] files for the firmware loader.

Reviewed-by: Russ Weight <russ.weight@linux.dev>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---

This v2 is just a re-submit and add's Russ Weight's Reviewed-by.
This is intended to help kick test our CI as we explore some area of it.

 drivers/base/firmware_loader/main.c         | 2 +-
 drivers/base/firmware_loader/sysfs_upload.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/base/firmware_loader/main.c b/drivers/base/firmware_loader/main.c
index 324a9a3c087a..1aa509756d3e 100644
--- a/drivers/base/firmware_loader/main.c
+++ b/drivers/base/firmware_loader/main.c
@@ -1528,7 +1528,7 @@  static void __device_uncache_fw_images(void)
  * device_cache_fw_images() - cache devices' firmware
  *
  * If one device called request_firmware or its nowait version
- * successfully before, the firmware names are recored into the
+ * successfully before, the firmware names are recorded into the
  * device's devres link list, so device_cache_fw_images can call
  * cache_firmware() to cache these firmwares for the device,
  * then the device driver can load its firmwares easily at
diff --git a/drivers/base/firmware_loader/sysfs_upload.c b/drivers/base/firmware_loader/sysfs_upload.c
index 829270067d16..7a838b30d8eb 100644
--- a/drivers/base/firmware_loader/sysfs_upload.c
+++ b/drivers/base/firmware_loader/sysfs_upload.c
@@ -209,7 +209,7 @@  static void fw_upload_main(struct work_struct *work)
 	/*
 	 * Note: fwlp->remaining_size is left unmodified here to provide
 	 * additional information on errors. It will be reinitialized when
-	 * the next firmeware upload begins.
+	 * the next firmware upload begins.
 	 */
 	mutex_lock(&fw_lock);
 	fw_free_paged_buf(fw_sysfs->fw_priv);