]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.arch/s390-04-03-kmsg.patch
Updated xen patches taken from suse.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.arch / s390-04-03-kmsg.patch
1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: kmsg: do not change pr_xyz messages without KMSG_COMPONENT
3 References: bnc#445100
4
5 Symptom: Normal pr_xyz messages without KMSG_COMPONENT have an additional
6 ": " in the output.
7 Problem: The pr_printk macro if KMSG_COMPONENT is not defined has
8 additional text.
9 Solution: Remove the additional text.
10
11 Acked-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)