diff mbox series

firmware_loader: minor spelling fixes

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

Commit Message

Luis Chamberlain Nov. 27, 2024, 1:20 a.m. UTC
From: Luis Chamberlain <mcgrof@kernel.org>

Run codespell on the *.[ch] files for the firmware loader.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---

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(-)

Comments

Russ Weight Nov. 27, 2024, 3:56 p.m. UTC | #1
On Tue, Nov 26, 2024 at 05:20:12PM -0800, Luis R. Rodriguez wrote:
> From: Luis Chamberlain <mcgrof@kernel.org>
> 
> Run codespell on the *.[ch] files for the firmware loader.
> 
> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>

Reviewed-by: Russ Weight <russ.weight@linux.dev>

> ---
> 
> 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 --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);
> -- 
> 2.45.2
>
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);