summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Nelson <dnelson@redhat.com>2010-03-29 22:03:00 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 15:56:00 -0700
commitd2a8d874c18f492e34e00026d38b432abdbe282f (patch)
tree819c3cd193b6860a9a421fe833a214bdd85f93ea
parent231c18f9ed7fa9e5557fa8afd525e934e628bddf (diff)
downloadlinux-stable-d2a8d874c18f492e34e00026d38b432abdbe282f.tar.gz
linux-stable-d2a8d874c18f492e34e00026d38b432abdbe282f.tar.bz2
linux-stable-d2a8d874c18f492e34e00026d38b432abdbe282f.zip
hwmon: (coretemp) Add missing newline to dev_warn() message
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>
-rw-r--r--drivers/hwmon/coretemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index 93c17223b527..2b8f439794b9 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -191,7 +191,7 @@ static int __devinit adjust_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *
if (err) {
dev_warn(dev,
"Unable to access MSR 0xEE, for Tjmax, left"
- " at default");
+ " at default\n");
} else if (eax & 0x40000000) {
tjmax = 85000;
}