]> git.sur5r.net Git - groeck-nct6775/commit
hwmon: (nct6775) Fix temp array overflow
authorGuenter Roeck <linux@roeck-us.net>
Tue, 24 Jul 2012 03:57:16 +0000 (20:57 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 24 Jul 2012 03:59:39 +0000 (20:59 -0700)
commit6b4fdc1510363003aa228976270fb1916591aede
treeb4dd3e1d82474ba653829e3520dda4d410b20670
parentd24d59f882d012d0bc7988b6a71fc9d23ab616de
hwmon: (nct6775) Fix temp array overflow

With the addition of tempX_crit, there are four sets of temperature values
in the temp[][] array, but it was declared with a size of three. Fix it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c