summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-12-03 11:08:07 -0800
committerGuenter Roeck <linux@roeck-us.net>2016-12-09 21:54:30 -0800
commitf1b9baa99bd98f83e8601e5cfd3bd28027a6f5a8 (patch)
tree9834fef469011d9f2c87bd8c2b0e8b3a38d06a7e /virt
parent7cb53e28b03006fa655632fe07b27a862f3f5cb5 (diff)
hwmon: (adm1026) Fix overflows seen when writing into limit attributes
Fix overflows seen when writing large values into voltage limit, temperature limit, temperature offset, and DAC attributes. Overflows are seen due to unbound multiplications and additions. While at it, change the low temperature limit to -128 degrees C, since this is the minimum temperature accepted by the chip. Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions