From: Dan Carpenter Date: Thu, 18 Jul 2013 15:01:11 +0000 (+0300) Subject: hwmon: (nct6775) Fix size of data->temp array X-Git-Tag: v3.12-rc1~189^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58876ac8c73f91c28f7825dee37ad64092eccf7;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed