Commit f08a3487 authored by Hans-Jürgen Koch's avatar Hans-Jürgen Koch Committed by Mark M. Hoffman

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: default avatarHans J. Koch <hjk@linutronix.de>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarMark M. Hoffman <mhoffman@lightlink.com>
parent add77c64
...@@ -234,7 +234,7 @@ struct lm93_data { ...@@ -234,7 +234,7 @@ struct lm93_data {
struct { struct {
u8 min; u8 min;
u8 max; u8 max;
} temp_lim[3]; } temp_lim[4];
/* vin1 - vin16: low and high limits */ /* vin1 - vin16: low and high limits */
struct { struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment