GIT: unionfs2-2.6.27.y: hwmon: (coretemp) Add missing newline to dev_warn() message

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:15:17 EDT 2010


commit afcb843f52a4db224bc5f138e136253205feffa3
Author: Dean Nelson <dnelson at redhat.com>
Date:   Mon Mar 29 22:03:00 2010 +0200

    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 at redhat.com>
    Signed-off-by: Jean Delvare <khali at linux-fr.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index 93c1722..2b8f439 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;
 		}


More information about the unionfs-cvs mailing list