commit | f58876ac8c73f91c28f7825dee37ad64092eccf7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 18 18:01:11 2013 +0300 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Aug 11 22:10:39 2013 -0700 |
tree | f2b2828043f24a54cfdb99e891bfdfe909d5d838 | |
parent | df612d5fb73d731e51964a6501fed7d465c79e95 [diff] |
hwmon: (nct6775) Fix size of data->temp array Smatch complains that we have a array overflow: drivers/hwmon/nct6775.c:1456 nct6775_update_device() error: buffer overflow 'data->temp' 4 <= 4 Guenter Roeck says that the array should have been made larger in 7cbbd6aee6 (Add support for critical low/high temperature limits on NCT6106). This patch does that. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>