summaryrefslogtreecommitdiffstats
path: root/drivers/of/of_reserved_mem.c
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-06-04 07:49:00 +0200
committerRob Herring <robh@kernel.org>2020-06-15 19:28:22 +0200
commit418370ff2231b7db5abf59b8faec911e6fc44d96 (patch)
tree8eae886b87690c63868ca7a28339bded1bc5bbcc /drivers/of/of_reserved_mem.c
parentdt-bindings: spi: Document bcm2711 and bcm7211 SPI compatible (diff)
downloadlinux-418370ff2231b7db5abf59b8faec911e6fc44d96.tar.xz
linux-418370ff2231b7db5abf59b8faec911e6fc44d96.zip
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;
}