aboutsummaryrefslogtreecommitdiff
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:52:29 -0700
commitafcb843f52a4db224bc5f138e136253205feffa3 (patch)
tree23bd22ab9c595d930064fc48e22831c33839d2a4
parentaaaa549b386fdd80b93b447541f42b313b103f95 (diff)
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 93c17223b52..2b8f439794b 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;
}