From: Andreas Herrmann Date: Fri, 23 Mar 2012 09:02:17 +0000 (+0100) Subject: hwmon: (fam15h_power) Correct sign extension of running_avg_capture X-Git-Tag: v3.2.14~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e60a74019cd11c51dce802a60a5c604b4f7735a1;p=pandora-kernel.git hwmon: (fam15h_power) Correct sign extension of running_avg_capture commit fc0900cbda9243957d812cd6b4cc87965f9fe75f upstream. Wrong bit was used for sign extension which caused wrong end results. Thanks to Andre for spotting this bug. Reported-by: Andre Przywara Signed-off-by: Andreas Herrmann Acked-by: Guenter Roeck Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed