hwmon: fix array overruns in lm93.c

This fixes an array overflow bug. We have 4 pairs of min/max temperature
limits, not 3.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
This commit is contained in:
Hans-Jürgen Koch 2007-07-23 09:36:57 +02:00 committed by Mark M. Hoffman
parent add77c64ca
commit f08a34874f
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ struct lm93_data {
struct {
u8 min;
u8 max;
} temp_lim[3];
} temp_lim[4];
/* vin1 - vin16: low and high limits */
struct {