summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/f75375s.c
diff options
context:
space:
mode:
authorDan Carpenter2013-07-18 17:01:11 +0200
committerGuenter Roeck2013-08-12 07:10:39 +0200
commitf58876ac8c73f91c28f7825dee37ad64092eccf7 (patch)
treef2b2828043f24a54cfdb99e891bfdfe909d5d838 /drivers/hwmon/f75375s.c
parenthwmon: (nct6775) Avoid using device platform data outside probe function (diff)
downloadkernel-qcow2-linux-f58876ac8c73f91c28f7825dee37ad64092eccf7.tar.gz
kernel-qcow2-linux-f58876ac8c73f91c28f7825dee37ad64092eccf7.tar.xz
kernel-qcow2-linux-f58876ac8c73f91c28f7825dee37ad64092eccf7.zip
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>
Diffstat (limited to 'drivers/hwmon/f75375s.c')
0 files changed, 0 insertions, 0 deletions