summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Yu-Chi Liang <[email protected]>2025-10-29 15:58:39 +0800
committerLeo Yu-Chi Liang <[email protected]>2025-12-08 12:10:10 +0800
commit3b8a3df19126858e2a4c71661bd37f55bf0ad3b3 (patch)
tree1bac4963f72d099580106cdbf3bc23ca57fd0a37
parent8e12d6ccb3cfa84dd275a1b852b2a235de0162b0 (diff)
riscv: cpu: Beautify the warning message
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 <[email protected]>
-rw-r--r--arch/riscv/cpu/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/cpu/cpu.c b/arch/riscv/cpu/cpu.c
index d5123e4b7d9..bbadd0c9a46 100644
--- a/arch/riscv/cpu/cpu.c
+++ b/arch/riscv/cpu/cpu.c
@@ -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