Skip to content

Commit

Permalink
of: reserved_mem: Fix typo in the too-many-regions message
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
kdrag0n authored and robherring committed Jun 15, 2020
1 parent a11bc0e commit 418370f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/of/of_reserved_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 418370f

Please sign in to comment.