Thread (5 messages) flat view 5 messages, 3 authors, 6d ago
COOLING6d

[PATCH 2/2] power: reset: add missing space in error message

From: Hemanth Selam <hidden>
Date: 2026-09-07 06:40:01
Also in: lkml
Subsystem: arm/texas instrument keystone reset driver, system reset/shutdown drivers, the rest · Maintainers: Santosh Shilimkar, Sebastian Reichel, Linus Torvalds

The two string literals are concatenated, so the message prints "has to
contain atleast one entry".  Add the missing space.

checkpatch.pl misses this one: neither literal is misspelled on its
own, the fault only appears once they are joined.

Only the message text changes, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <redacted>
---
 drivers/power/reset/keystone-reset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c
index 3c44cd6cee0a..dbf2e4274dc6 100644
--- a/drivers/power/reset/keystone-reset.c
+++ b/drivers/power/reset/keystone-reset.c
@@ -112,7 +112,7 @@ static int rsctrl_probe(struct platform_device *pdev)
 	for (i = 0; i < WDT_MUX_NUMBER; i++) {
 		ret = of_property_read_u32_index(np, "ti,wdt-list", i, &val);
 		if (ret == -EOVERFLOW && !i) {
-			dev_err(dev, "ti,wdt-list property has to contain at"
+			dev_err(dev, "ti,wdt-list property has to contain at "
 				"least one entry\n");
 			return -EINVAL;
 		} else if (ret) {
-- 
2.48.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help