devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] of: reserved_mem: Fix typo in the too-many-regions message
@ 2020-06-04  5:49 Danny Lin
  2020-06-15 17:28 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Lin @ 2020-06-04  5:49 UTC (permalink / raw)
  To: Rob Herring, Frank Rowand; +Cc: devicetree, linux-kernel, 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.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
---
 drivers/of/of_reserved_mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index 1a84bc0d5fa8..e648904347a0 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;
 	}
 
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] of: reserved_mem: Fix typo in the too-many-regions message
  2020-06-04  5:49 [PATCH 1/1] of: reserved_mem: Fix typo in the too-many-regions message Danny Lin
@ 2020-06-15 17:28 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-06-15 17:28 UTC (permalink / raw)
  To: Danny Lin; +Cc: linux-kernel, Rob Herring, devicetree, Frank Rowand

On Wed, 03 Jun 2020 22:49:00 -0700, Danny Lin wrote:
> 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>
> ---
>  drivers/of/of_reserved_mem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-15 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04  5:49 [PATCH 1/1] of: reserved_mem: Fix typo in the too-many-regions message Danny Lin
2020-06-15 17:28 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).