lkml.org 
[lkml]   [2014]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing: Correct braces usage in if-else statement
On Sat, 19 Apr 2014 21:58:23 +0800
Lin Yongting <linyongting@gmail.com> wrote:

> There are some incorrect braces usages in kernerl/trace/trace.c, including:
> 1. Missing braces in 'if' or 'else' branch.
> 2. Unnecessary braces in 'if' statement.
>
> Fix them according to kernel CodeStyle.

I understand that this is part of the CodeStyle, but I'm not accepting
this patch. It causes more pain than it is worth, as it makes it more
difficult to see git history because of "clean up" changes that get in
the way. I also honestly don't think this is much of a clean up.

Sorry,

-- Steve


>
> Signed-off-by: Lin Yongting <linyongting@gmail.com>
> ---
> kernel/trace/trace.c | 39 +++++++++++++++++++++++----------------
> 1 file changed, 23 insertions(+), 16 deletions(-)
>
> diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c


\
 
 \ /
  Last update: 2014-04-19 17:41    [W:0.886 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site