Skip to contentSkip to conversation

of: reserved_mem: Fix typo in the too-many-regions message

PATCH Applied Danny Lin 2 participants 2 messages Jun 4, 2020 – Jun 15, 2020 Device tree

lore
Share & tools
lore

Danny Lin

author
#0 lore raw

PATCH 1/1 of: reserved_mem: Fix typo in the too-many-regions message

Minor fix for a missing preposition in the error message that appears when there are too many reserved memory regions for the allocated array to store.

---
 drivers/of/of_reserved_mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/of_reserved_mem.c +1 -1
index 1a84bc0d5fa8..e648904347a0 100644
@@ -54,7 +54,7 @@ void __init fdt_reserved_mem_save_node(unsigned long node, const char *uname,
 	struct reserved_mem *rmem = &reserved_mem[reserved_mem_count];
 
 	if (reserved_mem_count == ARRAY_SIZE(reserved_mem)) {
-		pr_err("not enough space all defined regions.\n");
+		pr_err("not enough space for all defined regions.\n");
 		return;
 	}
 
Signature · 1 line
2.26.2
maintainer Applied
#1 lore raw
Quoted 9 lines · Danny Lin

Minor fix for a missing preposition in the error message that appears when there are too many reserved memory regions for the allocated array to store.

---
 drivers/of/of_reserved_mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!