diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-04-26 16:34:26 +0200 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-06-19 06:50:31 -0400 |
commit | ed4ec814e45ae8b1596aea0a29b92f6c3614acaa (patch) | |
tree | 05190bbb539e2c383555d46d6302269788dd03ca /kernel/kfifo.c | |
parent | d38b149794e7444a55e741446717147e7f0467f8 (diff) |
hwmon: (adt7473) Initialize max_duty_at_overheat before use
data->max_duty_at_overheat is not updated in adt7473_update_device,
so it might be used before it is initialized (if the user reads from
sysfs file max_duty_at_crit before writing to it.)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'kernel/kfifo.c')
0 files changed, 0 insertions, 0 deletions