]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (lm87) Fix a division by zero
authorJean Delvare <khali@linux-fr.org>
Wed, 26 Sep 2007 20:16:56 +0000 (22:16 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Wed, 10 Oct 2007 02:56:31 +0000 (22:56 -0400)
commitb965d4b7f614522170af6a7e450be0333792ccd2
tree31f8ae8e50239905627687e454bb3c1f2cac30f1
parent428a7039c5717695935b946af9413e59f68928a4
hwmon: (lm87) Fix a division by zero

Missing parentheses in the definition of FAN_FROM_REG cause a division
by zero for a specific register value.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm87.c