]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (lm85) Fix overflows seen when writing voltage limit attributes
authorGuenter Roeck <linux@roeck-us.net>
Mon, 5 Dec 2016 02:16:48 +0000 (18:16 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 Dec 2016 19:33:43 +0000 (11:33 -0800)
commit67b2003485ee48dcfcb5338171defa4093bba02e
tree20c77fcbdf51360025df77bad3b22dc47690d729
parent12fa55ccc49df52617d7454ba448c1876e189bac
hwmon: (lm85) Fix overflows seen when writing voltage limit attributes

Writes into voltage limit attributes can overflow due to an unbound
multiplication.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm85.c