]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
riscv: cpu: Beautify the warning message
authorLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 29 Oct 2025 07:58:39 +0000 (15:58 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 8 Dec 2025 04:10:10 +0000 (12:10 +0800)
Add '\n' to the end of the warning message.

Besides, if we enable console record utility,
missing the '\n' causes the console_record_readline
fail to recognize the end of string.

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/cpu/cpu.c

index d5123e4b7d97b355a9dfbcc0896b8097d8eaeaaa..bbadd0c9a469d6f659a688db14174e4330756a51 100644 (file)
@@ -463,7 +463,7 @@ static void riscv_parse_isa_string(const char *isa)
                switch (*ext) {
                case 'x':
                case 'X':
-                       log_warning("Vendor extensions are ignored in riscv,isa. Use riscv,isa-extensions instead.");
+                       log_warning("Vendor extensions are ignored in riscv,isa. Use riscv,isa-extensions instead.\n");
                        /*
                         * To skip an extension, we find its end.
                         * As multi-letter extensions must be split from other multi-letter