summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-05-05 13:54:36 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-05-07 20:53:10 +0100
commit1f13aa4d5194cbbc7934012069c05a60fc697df9 (patch)
tree2a6cdaa989114931316c6c4244904ff355404f89 /arch
parent2c962369d72f286659e6446919f88d69b943cb4d (diff)
downloadlinux-stable-1f13aa4d5194cbbc7934012069c05a60fc697df9.tar.gz
linux-stable-1f13aa4d5194cbbc7934012069c05a60fc697df9.tar.bz2
linux-stable-1f13aa4d5194cbbc7934012069c05a60fc697df9.zip
ARM: 8973/1: Add missing newline terminator to kernel message
Before commit 874f9c7da9a4acbc ("printk: create pr_<level> functions"), pr_*() calls without a trailing newline characters would be printed with a newline character appended, both on the console and in the output of the dmesg command. After that commit, no new line character is appended, and the output of the next pr_*() call of the same type may be appended: -No ATAGs? -hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. +No ATAGs?hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. While this commit has been reverted in commit a0cba2179ea4c182 ("Revert "printk: create pr_<level> functions""), it's still good practice to terminate kernel messages with newlines. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/atags_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/atags_proc.c b/arch/arm/kernel/atags_proc.c
index 4247ebf4b893..3c2faf2bd124 100644
--- a/arch/arm/kernel/atags_proc.c
+++ b/arch/arm/kernel/atags_proc.c
@@ -42,7 +42,7 @@ static int __init init_atags_procfs(void)
size_t size;
if (tag->hdr.tag != ATAG_CORE) {
- pr_info("No ATAGs?");
+ pr_info("No ATAGs?\n");
return -EINVAL;
}