aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic/local.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2011-03-21 17:59:35 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-23 13:16:59 -0700
commitd79a1f96cc0d512e8198d463d5ee7b3ebf06f023 (patch)
tree088c292c233cca1130d9f249c11765662b9b41d0 /include/asm-generic/local.h
parentd3dd00569dfcc9fa732f16e832ddcb75f1e52186 (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 'include/asm-generic/local.h')
0 files changed, 0 insertions, 0 deletions