test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"
Subsystems (2)
PATCH 1/1 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(-)
lib/test_firmware.c +2 -2
@@ -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);
Signature · 1 line
2.37.1
Quoted 3 lines · Colin Ian King
There are spelling mistakes in config show text. Fix these.
Signed-off-by Colin Ian King <[email protected]>
Reviewed-by Russ Weight <[email protected]>
Quoted 26 lines
--- lib/test_firmware.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)lib/test_firmware.c +2
-2@@ -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);