]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
.27 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Mar 2010 22:47:54 +0000 (15:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Mar 2010 22:47:54 +0000 (15:47 -0700)
queue-2.6.27/hwmon-coretemp-add-missing-newline-to-dev_warn-message.patch [new file with mode: 0644]
queue-2.6.27/series

diff --git a/queue-2.6.27/hwmon-coretemp-add-missing-newline-to-dev_warn-message.patch b/queue-2.6.27/hwmon-coretemp-add-missing-newline-to-dev_warn-message.patch
new file mode 100644 (file)
index 0000000..e134d33
--- /dev/null
@@ -0,0 +1,32 @@
+From 4d7a5644e4adfafe76c2bd8ee168e3f3b5dae3a8 Mon Sep 17 00:00:00 2001
+From: Dean Nelson <dnelson@redhat.com>
+Date: Mon, 29 Mar 2010 22:03:00 +0200
+Subject: hwmon: (coretemp) Add missing newline to dev_warn() message
+
+From: Dean Nelson <dnelson@redhat.com>
+
+commit 4d7a5644e4adfafe76c2bd8ee168e3f3b5dae3a8 upstream.
+
+Add missing newline to dev_warn() message string. This is more of an issue
+with older kernels that don't automatically add a newline if it was missing
+from the end of the previous line.
+
+Signed-off-by: Dean Nelson <dnelson@redhat.com>
+Signed-off-by: Jean Delvare <khali@linux-fr.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/hwmon/coretemp.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/hwmon/coretemp.c
++++ b/drivers/hwmon/coretemp.c
+@@ -191,7 +191,7 @@ static int __devinit adjust_tjmax(struct
+               if (err) {
+                       dev_warn(dev,
+                                "Unable to access MSR 0xEE, for Tjmax, left"
+-                               " at default");
++                               " at default\n");
+               } else if (eax & 0x40000000) {
+                       tjmax = 85000;
+               }
index 65a1f2ffc1087043def692c64f61e54457ee0877..6a3a5e373e9d6f8ca99babe5afe1987669baead6 100644 (file)
@@ -43,3 +43,4 @@ tmpfs-handle-mpol_local-mount-option-properly.patch
 doc-add-the-documentation-for-mpol-local.patch
 tmpfs-cleanup-mpol_parse_str.patch
 usb-fix-usbfs-regression.patch
+hwmon-coretemp-add-missing-newline-to-dev_warn-message.patch