summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2011-03-21 17:59:35 +0100
committerJean Delvare <khali@endymion.delvare>2011-03-21 17:59:35 +0100
commitccd32e735de7a941906e093f8dca924bb05c5794 (patch)
tree0917acbefbf51c669d4cae75daae2f5abccfbdaa /drivers/hwmon/lm75.c
parent396bd766a604b823369962ee0203c603b9c0bdec (diff)
downloadlinux-ccd32e735de7a941906e093f8dca924bb05c5794.tar.bz2
hwmon: (sht15) Fix integer overflow in humidity calculation
An integer overflow occurs in the calculation of RHlinear when the relative humidity is greater than around 30%. The consequence is a subtle (but noticeable) error in the resulting humidity measurement. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: stable@kernel.org Cc: Jonathan Cameron <jic23@cam.ac.uk>
Diffstat (limited to 'drivers/hwmon/lm75.c')
0 files changed, 0 insertions, 0 deletions