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.4-rc1~111^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0900cbda9243957d812cd6b4cc87965f9fe75f;p=pandora-kernel.git hwmon: (fam15h_power) Correct sign extension of running_avg_capture 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 Cc: stable@vger.kernel.org --- Reading git-diff-tree failed