On Thu, 8 Dec 2016 11:29:29 -0800, Guenter Roeck wrote: > 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. > > Signed-off-by: Guenter Roeck <[email protected]> > --- > v2: Provide reason for changing lower temperature range. > > drivers/hwmon/adm1026.c | 26 +++++++++++++++++--------- > 1 file changed, 17 insertions(+), 9 deletions(-) > (...)
Reviewed-by: Jean Delvare <[email protected]> -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
