Skip to contentSkip to conversation

hwmon: (fschmd) Discard non-ASCII characters

lm-sensors Jean Delvare 2 participants 3 messages Oct 13, 2007 – Nov 25, 2007 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

Somehow non-ASCII characters managed to sneak into the fschmd driver. Kick them out.

---
 drivers/hwmon/fschmd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/fschmd.c +2 -2
@@ -133,7 +133,7 @@ static const u8 FSCHMD_REG_TEMP_STATE[5]
 	{ 0x71, 0x81, 0x91 },				/* her */
 	{ 0x71, 0xd1, 0x81, 0x91 },			/* scy */
 	{ 0x71, 0x81, 0x91 },				/* hrc */
-	{ 0x71, 0x81, 0x91, 0xd1, 0xe1 },		/* hmd */
+	{ 0x71, 0x81, 0x91, 0xd1, 0xe1 },		/* hmd */
 };
 
 /* temperature high limit registers, FSC does not document these. Proven to be
@@ -146,7 +146,7 @@ static const u8 FSCHMD_REG_TEMP_LIMIT[5]
 	{ 0x76, 0x86, 0x96 },				/* her */
 	{ 0x76, 0xd6, 0x86, 0x96 },			/* scy */
 	{ 0x76, 0x86, 0x96 },				/* hrc */
-	{ 0x76, 0x86, 0x96, 0xd6, 0xe6 },		/* hmd */
+	{ 0x76, 0x86, 0x96, 0xd6, 0xe6 },		/* hmd */
 };
 
 /* These were found through experimenting with an fscher, currently they are
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Hi Jean:

Quoted 8 lines · Jean Delvare

Somehow non-ASCII characters managed to sneak into the fschmd driver. Kick them out.

---
 drivers/hwmon/fschmd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Somewhere between this patch hitting my inbox and getting sucked into git, it got corrupted. Weird. Anyway, I re-created it locally and applied it to hwmon-2.6.git/testing, thanks.

Signature · 8 lines
Mark M. Hoffman
[email protected]


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Jean Delvare
Quoted 12 lines · Mark M. Hoffman

Hi Jean:

Quoted 8 lines · Jean Delvare

Somehow non-ASCII characters managed to sneak into the fschmd driver. Kick them out.

---
 drivers/hwmon/fschmd.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 3 lines

Somewhere between this patch hitting my inbox and getting sucked into git, it got corrupted. Weird. Anyway, I re-created it locally and applied it to hwmon-2.6.git/testing, thanks.

I expected it... Inline patches only work well for pure ASCII. As soon as the patch contains a non-ASCII character, mail clients and servers try to be smart and encode and decode things arbitrarily. Thanks for re-creating the patch.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors