summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-12-12 08:05:33 +0100
committerJean Delvare <khali@endymion.delvare>2013-12-12 08:05:33 +0100
commit3806b45ba4655147a011df03242cc197ab986c43 (patch)
tree6f16fdaab2125caf51cd1c9b2fb9cd9e1eb3674f /.gitignore
parenthwmon: (w83l768ng) Fix fan speed control range (diff)
downloadlinux-3806b45ba4655147a011df03242cc197ab986c43.tar.xz
linux-3806b45ba4655147a011df03242cc197ab986c43.zip
hwmon: Prevent some divide by zeros in FAN_TO_REG()
The "rpm * div" operations can overflow here, so this patch adds an upper limit to rpm to prevent that. Jean Delvare helped me with this patch. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Roger Lucas <vt8231@hiddenengine.co.uk> Cc: stable@vger.kernel.org Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions