summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/fdt_fixup.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-17 20:16:49 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2024-10-28 16:11:33 +0800
commitc1558743bff79b1995b606cb1460e57fb89ee656 (patch)
treeeea7e8735cd7d694a866ec77532f184e769ed61c /arch/riscv/lib/fdt_fixup.c
parentf5c6ac8aafd787446fd9d114dec4145779d18774 (diff)
riscv: add missing linefeed in error message
* Messages written with log_err() should be terminated with linefeed. * Spell device-tree with hyphen as elsewhere in U-Boot. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'arch/riscv/lib/fdt_fixup.c')
-rw-r--r--arch/riscv/lib/fdt_fixup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/fdt_fixup.c b/arch/riscv/lib/fdt_fixup.c
index c658e72bd39..6dfd1a2d5b8 100644
--- a/arch/riscv/lib/fdt_fixup.c
+++ b/arch/riscv/lib/fdt_fixup.c
@@ -142,7 +142,7 @@ int arch_fixup_fdt(void *blob)
size = fdt_totalsize(blob);
err = fdt_open_into(blob, blob, size + 32);
if (err < 0) {
- log_err("Device Tree can't be expanded to accommodate new node");
+ log_err("Device-tree can't be expanded to accommodate new node\n");
return err;
}
chosen_offset = fdt_path_offset(blob, "/chosen");