projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100a980
)
s390/startup: correct early pgm check info formatting
author
Vasily Gorbik
<gor@linux.ibm.com>
Thu, 1 Oct 2020 00:22:54 +0000
(
02:22
+0200)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Fri, 2 Oct 2020 12:40:49 +0000
(14:40 +0200)
Early sclp console messages are printed in line mode on z/VM and LPAR,
but under kvm newlines matter. Add a missing newline between "kernel
version" and "Kernel fault".
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/pgm_check_info.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/boot/pgm_check_info.c
b/arch/s390/boot/pgm_check_info.c
index d3ab20ec517e498e1541f0eb00384bf73ccd99a6..a3c9862bcede761c8ad1d1892b4165b910afb925 100644
(file)
--- a/
arch/s390/boot/pgm_check_info.c
+++ b/
arch/s390/boot/pgm_check_info.c
@@
-33,7
+33,8
@@
void print_pgm_check_info(void)
char *p;
add_str(buf, "Linux version ");
- strlcat(buf, kernel_version, sizeof(buf));
+ strlcat(buf, kernel_version, sizeof(buf) - 1);
+ strlcat(buf, "\n", sizeof(buf));
sclp_early_printk(buf);
p = add_str(buf, "Kernel fault: interruption code ");