diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2011-03-21 17:59:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-23 13:04:16 -0700 |
commit | 61493eba2918294ee62855d2943aa563aa301c0d (patch) | |
tree | 1f980d7a54b0ce8fe9459165ad3eceb4a4f955d9 /lib/halfmd4.c | |
parent | de988be1f66ecc6ea96c11dac2e4c5bc44de9615 (diff) |
hwmon: (sht15) Fix integer overflow in humidity calculation
commit ccd32e735de7a941906e093f8dca924bb05c5794 upstream.
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: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions