]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.27.46/hwmon-coretemp-add-missing-newline-to-dev_warn-message.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.27.46 / hwmon-coretemp-add-missing-newline-to-dev_warn-message.patch
1 From 4d7a5644e4adfafe76c2bd8ee168e3f3b5dae3a8 Mon Sep 17 00:00:00 2001
2 From: Dean Nelson <dnelson@redhat.com>
3 Date: Mon, 29 Mar 2010 22:03:00 +0200
4 Subject: hwmon: (coretemp) Add missing newline to dev_warn() message
5
6 From: Dean Nelson <dnelson@redhat.com>
7
8 commit 4d7a5644e4adfafe76c2bd8ee168e3f3b5dae3a8 upstream.
9
10 Add missing newline to dev_warn() message string. This is more of an issue
11 with older kernels that don't automatically add a newline if it was missing
12 from the end of the previous line.
13
14 Signed-off-by: Dean Nelson <dnelson@redhat.com>
15 Signed-off-by: Jean Delvare <khali@linux-fr.org>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
17
18 ---
19 drivers/hwmon/coretemp.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 --- a/drivers/hwmon/coretemp.c
23 +++ b/drivers/hwmon/coretemp.c
24 @@ -191,7 +191,7 @@ static int __devinit adjust_tjmax(struct
25 if (err) {
26 dev_warn(dev,
27 "Unable to access MSR 0xEE, for Tjmax, left"
28 - " at default");
29 + " at default\n");
30 } else if (eax & 0x40000000) {
31 tjmax = 85000;
32 }