Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 4e3837bb authored by Vivien Didelot's avatar Vivien Didelot Committed by Greg Kroah-Hartman
Browse files

hwmon: (sht15) Fix integer overflow in humidity calculation


commit ccd32e73 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: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c5243dd8
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment