]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.arch/s390-04-03-kmsg.patch
Imported linux-2.6.27.39 suse/xen patches.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / s390-04-03-kmsg.patch
CommitLineData
2cb7cef9
BS
1From: Gerald Schaefer <geraldsc@de.ibm.com>
2Subject: kmsg: do not change pr_xyz messages without KMSG_COMPONENT
3References: bnc#445100
4
5Symptom: Normal pr_xyz messages without KMSG_COMPONENT have an additional
6 ": " in the output.
7Problem: The pr_printk macro if KMSG_COMPONENT is not defined has
8 additional text.
9Solution: Remove the additional text.
10
11Acked-by: John Jolly <jjolly@suse.de>
12
13---
14 include/linux/kernel.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17--- a/include/linux/kernel.h
18+++ b/include/linux/kernel.h
19@@ -301,7 +301,7 @@ static inline char *pack_hex_byte(char *
20 printk(level KMSG_COMPONENT ": " format, ##__VA_ARGS__)
21 #else
22 #define pr_printk(level, format, ...) \
23- printk(level ": " format, ##__VA_ARGS__)
24+ printk(level format, ##__VA_ARGS__)
25 #endif
26
27 #if defined(__KMSG_CHECKER) && defined(KMSG_COMPONENT)