lkml.org 
[lkml]   [2010]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue
On Sat, Sep 25, 2010 at 02:31:52PM -0400, Tracey Dent wrote:
> From: Tracey Dent <Tdent48227@gmail.com>
>
> Found and corrected indent issue using checkpatch.pl
>
> Signed-off-by: Tracey Dent <tdent48227@gmail.com>

Patches that fix whitespace issues aren't really worthwhile. They
tend to cause extra work for the me as the maintainer, since it means
that patches that others send me end up failing due to whitespace
issues, which then have to be manually fixed up.

There are also changes you've made which actually make the alignment
*worse* not better, places where you changed:

} else if

to
} else if

which is to my mind, totally broken, and certainly not required by
checkpatch.

So I'm going to NACK this whole patch series, sorry.

Patches should be checkpatch.pl clean, and so as we make changes,
we'll also gradually clean up the code. Note though that I'm an emacs
user, and so I prefer code where parenthesis is properly lined up,
i.e.:

while ((count < blks) && (count <= blocks_to_boundary) &&
(le32_to_cpu(*(branch[0].p + count)) == 0)) {

and not this:

while ((count < blks) && (count <= blocks_to_boundary) &&
(le32_to_cpu(*(branch[0].p + count)) == 0)) {

I won't insist on it, though. However, I'll generally clean up such
alignment issues if I come across it.

; - Ted


\
 
 \ /
  Last update: 2010-09-27 20:09    [W:0.224 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site