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

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 <>
Acked-by: default avatarJean Delvare <>
Signed-off-by: default avatarMark M. Hoffman <>
parent add77c64
......@@ -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 {
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