x86, mce, therm_throt.c: Fix missing curly braces in error handling logic
authorJin Dongming <jin.dongming@np.css.fujitsu.com>
Thu, 26 Aug 2010 08:29:05 +0000 (17:29 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 8 Oct 2010 08:29:20 +0000 (10:29 +0200)
commitb62be8ea9db4048112219ff6d6ce5f183179d4dc
tree84a9b197a31724e785e3b45eae1c120091d4ad17
parent6b0cd00bc396daf5c2dcf17a8d82055335341f46
x86, mce, therm_throt.c: Fix missing curly braces in error handling logic

When the feature PTS is not supported by CPU, the sysfile
package_power_limit_count for package should not be
generated.

This patch is used for fixing missing { and }.

The patch is not complete as there are other error handling
problems in this function - but that can wait until the
merge window.

Signed-off-by: Jin Dongming <jin.dongming@np.css.fujitsu.com>
Reviewed-by: Fenghua Yu <fenghua.yu@initel.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Brown Len <len.brown@intel.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: lm-sensors@lm-sensors.org <lm-sensors@lm-sensors.org>
LKML-Reference: <4C7625D1.4060201@np.css.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/therm_throt.c