OSDN Git Service

hwmon: (coretemp) Add missing newline to dev_warn() message
authorDean Nelson <dnelson@redhat.com>
Mon, 29 Mar 2010 20:03:00 +0000 (22:03 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 29 Mar 2010 20:03:00 +0000 (22:03 +0200)
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>
Cc: stable@kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/coretemp.c

index f5f975b..e9b7fbc 100644 (file)
@@ -228,7 +228,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 = tjmax_ee;
                }