Skip to contentSkip to conversation

hwmon/thmc50: Fix a debug message

PATCH Mark M. Hoffman 1 participant 1 message Oct 7, 2007

lore
Share & tools
lore
#0 lore raw

Hi:

Quoted 8 lines · Jean Delvare

type_name was used before being set. See why I don't like play-it-safe variable initializations: they prevent the compiler from warning you about such mistakes. So fix that as well.

---
 drivers/hwmon/thmc50.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Applied 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