x86/mce/severity: Fix warning about indented braces
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Tue, 31 Mar 2015 15:04:41 +0000 (10:04 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 13:20:38 +0000 (15:20 +0200)
commitcee8f5a6c8c917613dd021552909d071b1dab592
tree87b67514e0b4470ac3282b037c1499dd7201a53c
parentf5c8a104116a56503b6e824e7782b2e805b29abb
x86/mce/severity: Fix warning about indented braces

Dan reported compiler warnings about missing curly braces in
mce_severity_amd(). Reindent the catch-all "return MCE_AR_SEVERITY"
correctly to single tab.

While at it, chain ctx == IN_KERNEL check with mcgstatus check to make
it cleaner, as suggested by Boris.

No functional changes are introduced by this patch.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1427814281-18192-1-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce-severity.c