Skip to contentSkip to conversation

i2c/it87: add newline to printk

PATCH New Domen Puncer 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c/it87: add newline to printk

This printk should have newline, otherwise next string is appended to it. Boot tested.

drivers/i2c/chips/it87.c +1 -1
@@ -835,7 +835,7 @@
 	if ((tmp & 0x87) = 0) {
 		enable_pwm_interface = 0;
 		dev_info(&new_client->dev,
-			"detected broken BIOS defaults, disabling pwm interface");
+			"detected broken BIOS defaults, disabling pwm interface\n");
 	}
 
 	/* Register sysfs hooks */
#1 lore raw

PATCH 1/1 i2c/it87: add newline to printk

Hi Domen,

Quoted 1 line

This printk should have newline, otherwise next string is appended to it.

True, however this happens to be already fixed by another patch (already in Greg's tree and present in 2.6.11-rc2-mm1).

http://lkml.org/lkml/2005/1/15/75

Thanks,
--
Jean Delvare