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.39-rc1~397^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccd32e735de7a941906e093f8dca924bb05c5794;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare Cc: stable@kernel.org Cc: Jonathan Cameron --- Reading git-diff-tree failed