From f08a34874f93d5081c735ffcb2f9071be9b5d270 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hans-J=C3=BCrgen=20Koch?= Date: Mon, 23 Jul 2007 09:36:57 +0200 Subject: [PATCH] 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 Acked-by: Jean Delvare Signed-off-by: Mark M. Hoffman --- drivers/hwmon/lm93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lm93.c b/drivers/hwmon/lm93.c index 23edf4fe42..d84f8bf6f2 100644 --- a/drivers/hwmon/lm93.c +++ b/drivers/hwmon/lm93.c @@ -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 { -- 2.39.5