[PATCH 05/17] hwmon: (adm1025) Fix overflows seen when writing voltage limits

2016-12-04 Thread Guenter Roeck
Writes into voltage limit attributes can overflow due to an unbound multiplication. Signed-off-by: Guenter Roeck --- drivers/hwmon/adm1025.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/adm1025.c b/drivers/hwmon/adm1025.c index d6c767ace916..1abb4609b412 1006

Re: [PATCH 05/17] hwmon: (adm1025) Fix overflows seen when writing voltage limits

2016-12-08 Thread Jean Delvare
On Sun, 4 Dec 2016 20:55:28 -0800, Guenter Roeck wrote: > Writes into voltage limit attributes can overflow due to an unbound > multiplication. > > Signed-off-by: Guenter Roeck > --- > drivers/hwmon/adm1025.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hwmo