Skip to contentSkip to conversation

test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"

PATCH In review Colin Ian King 2 participants 2 messages Sep 28, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test_firmware: Fix spelling mistake "EMTPY" -> "EMPTY"

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

---
 lib/test_firmware.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/test_firmware.c +2 -2
index c82b65947ce6..0c714cdd51ef 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Colin Ian King

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

Quoted 26 lines
---
 lib/test_firmware.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/test_firmware.c +2 -2
index c82b65947ce6..0c714cdd51ef 100644
@@ -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);