diff options
author | Vivien Didelot <[email protected]> | 2011-03-21 17:59:35 +0100 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2011-03-21 17:59:35 +0100 |
commit | ccd32e735de7a941906e093f8dca924bb05c5794 (patch) | |
tree | 0917acbefbf51c669d4cae75daae2f5abccfbdaa /tools/perf/util/trace-event-scripting.c | |
parent | 396bd766a604b823369962ee0203c603b9c0bdec (diff) |
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 <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Cc: [email protected]
Cc: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions