lkml.org 
[lkml]   [2015]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86, mce, severity: Fix warning about intended braces
On Tue, Mar 31, 2015 at 10:04:41AM -0500, Aravind Gopalakrishnan wrote:
> Dan reported compiler warnings about intended curly braces
> around if (!(m->mcgstatus & MCG_STATUS_RIPV)).
> This can be fixed by reindenting 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 the patch
>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
> ---
> arch/x86/kernel/cpu/mcheck/mce-severity.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--


\
 
 \ /
  Last update: 2015-04-01 15:01    [W:0.046 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site