summaryrefslogtreecommitdiff
path: root/drivers/of/of_reserved_mem.c
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-06-04 08:49:00 +0300
committerRob Herring <robh@kernel.org>2020-06-15 20:28:22 +0300
commit418370ff2231b7db5abf59b8faec911e6fc44d96 (patch)
tree8eae886b87690c63868ca7a28339bded1bc5bbcc /drivers/of/of_reserved_mem.c
parenta11bc0e17aa8a6fe988852f7002995e14a41674d (diff)
downloadlinux-418370ff2231b7db5abf59b8faec911e6fc44d96.tar.xz
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. Signed-off-by: Danny Lin <danny@kdrag0n.dev> Link: https://lore.kernel.org/r/20200604054900.200317-1-danny@kdrag0n.dev Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/of_reserved_mem.c')
-rw-r--r--drivers/of/of_reserved_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index 6877080c8af9..98972881fc59 100644
--- a/drivers/of/of_reserved_mem.c
+++ b/drivers/of/of_reserved_mem.c
@@ -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;
}