]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: add missing linefeed in error message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 17 Oct 2024 18:16:49 +0000 (20:16 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 28 Oct 2024 08:11:33 +0000 (16:11 +0800)
* 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>
arch/riscv/lib/fdt_fixup.c

index c658e72bd39e6c939745fad0be171c5d4f5416d9..6dfd1a2d5b8f629de3e5986a79c6f255b0871418 100644 (file)
@@ -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");