2022-09-28 21:58:09

by Colin Ian King

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

There are spelling mistakes in config show text. Fix these.

Signed-off-by: Colin Ian King <[email protected]>
---
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


2022-09-28 22:17:42

by Russ Weight

[permalink] [raw]
Subject: Re: [PATCH] test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"



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 <[email protected]>
Reviewed-by: Russ Weight <[email protected]>
> ---
> 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);
>