summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2023-02-16 09:37:25 +0100
committerRob Herring <robh@kernel.org>2023-02-17 15:21:36 -0600
commit6ee7afbabcee4d54024c46f8fc74314c69a04613 (patch)
treec743145a3982dd368e4662b977858d791ca1b92a /drivers/of
parent25eba1598c8e1e804c02e3a0da50782c50c11c41 (diff)
downloadlinux-stable-6ee7afbabcee4d54024c46f8fc74314c69a04613.tar.gz
linux-stable-6ee7afbabcee4d54024c46f8fc74314c69a04613.tar.bz2
linux-stable-6ee7afbabcee4d54024c46f8fc74314c69a04613.zip
of: reserved_mem: Use proper binary prefix
The printed reserved memory information uses the non-standard "K" prefix, while all other printed values use proper binary prefixes. Fix this by using "Ki" instead. While at it, drop the superfluous spaces inside the parentheses, to reduce printed line length. Fixes: aeb9267eb6b1df99 ("of: reserved-mem: print out reserved-mem details during boot") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230216083725.1244817-1-geert+renesas@glider.be Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-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 00e75064ca19..9f7127297f4d 100644
--- a/drivers/of/of_reserved_mem.c
+++ b/drivers/of/of_reserved_mem.c
@@ -289,7 +289,7 @@ void __init fdt_init_reserved_mem(void)
bool reusable =
(of_get_flat_dt_prop(node, "reusable", NULL)) != NULL;
- pr_info("%pa..%pa ( %lu KB ) %s %s %s\n",
+ pr_info("%pa..%pa (%lu KiB) %s %s %s\n",
&rmem->base, &end, (unsigned long)(rmem->size / SZ_1K),
nomap ? "nomap" : "map",
reusable ? "reusable" : "non-reusable",