commit | 9200bc4c28cd8992eb5379345abd6b4f0c93df16 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sat Jul 04 13:23:42 2015 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Jul 29 20:06:50 2015 -0700 |
tree | a775ada60b166e99a1860cfb2cde1bd37ca15c26 | |
parent | 0d6aaffc3a6db642e0a165ba4d17d6d7bbaf5201 [diff] |
hwmon: (nct7802) Fix integer overflow seen when writing voltage limits Writing a large value into a voltage limit attribute can result in an overflow due to an auto-conversion from unsigned long to unsigned int. Cc: Constantine Shulyupin <const@MakeLinux.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Cc: stable@vger.kernel.org # v4.1+ Signed-off-by: Guenter Roeck <linux@roeck-us.net>