diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2011-03-21 17:59:35 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-03-21 17:59:35 +0100 |
commit | ccd32e735de7a941906e093f8dca924bb05c5794 (patch) | |
tree | 0917acbefbf51c669d4cae75daae2f5abccfbdaa /drivers/sbus | |
parent | 396bd766a604b823369962ee0203c603b9c0bdec (diff) | |
download | linux-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/sbus')
0 files changed, 0 insertions, 0 deletions