From: Vivien Didelot Date: Mon, 21 Mar 2011 16:59:35 +0000 (+0100) Subject: hwmon: (sht15) Fix integer overflow in humidity calculation X-Git-Tag: v2.6.37.5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e3837bb22675cef56b921230f7604fe1a451a5f;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare Cc: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed