Re: [PATCH 11/17] hwmon: (lm85) Fix overflows seen when writing voltage limit attributes

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

[PATCH 11/17] hwmon: (lm85) Fix overflows seen when writing voltage limit attributes

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/lm85.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c index