[PATCH] test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"

Colin Ian King posted 1 patch 1 year, 6 months ago
lib/test_firmware.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"
Posted by Colin Ian King 1 year, 6 months ago
There are spelling mistakes in config show text. Fix these.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 lib/test_firmware.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/test_firmware.c b/lib/test_firmware.c
index c82b65947ce6..0c714cdd51ef 100644
--- a/lib/test_firmware.c
+++ b/lib/test_firmware.c
@@ -284,7 +284,7 @@ static ssize_t config_show(struct device *dev,
 				test_fw_config->name);
 	else
 		len += scnprintf(buf + len, PAGE_SIZE - len,
-				"name:\tEMTPY\n");
+				"name:\tEMPTY\n");
 
 	len += scnprintf(buf + len, PAGE_SIZE - len,
 			"num_requests:\t%u\n", test_fw_config->num_requests);
@@ -315,7 +315,7 @@ static ssize_t config_show(struct device *dev,
 				test_fw_config->upload_name);
 	else
 		len += scnprintf(buf + len, PAGE_SIZE - len,
-				"upload_name:\tEMTPY\n");
+				"upload_name:\tEMPTY\n");
 
 	mutex_unlock(&test_fw_mutex);
 
-- 
2.37.1
Re: [PATCH] test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"
Posted by Russ Weight 1 year, 6 months ago

On 9/28/22 14:16, Colin Ian King wrote:
> There are spelling mistakes in config show text. Fix these.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Russ Weight <russell.h.weight@intel.com>
> ---
>  lib/test_firmware.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/test_firmware.c b/lib/test_firmware.c
> index c82b65947ce6..0c714cdd51ef 100644
> --- a/lib/test_firmware.c
> +++ b/lib/test_firmware.c
> @@ -284,7 +284,7 @@ static ssize_t config_show(struct device *dev,
>  				test_fw_config->name);
>  	else
>  		len += scnprintf(buf + len, PAGE_SIZE - len,
> -				"name:\tEMTPY\n");
> +				"name:\tEMPTY\n");
>  
>  	len += scnprintf(buf + len, PAGE_SIZE - len,
>  			"num_requests:\t%u\n", test_fw_config->num_requests);
> @@ -315,7 +315,7 @@ static ssize_t config_show(struct device *dev,
>  				test_fw_config->upload_name);
>  	else
>  		len += scnprintf(buf + len, PAGE_SIZE - len,
> -				"upload_name:\tEMTPY\n");
> +				"upload_name:\tEMPTY\n");
>  
>  	mutex_unlock(&test_fw_mutex);
>