Re: checkpatch.pl and no newline handling

2007-11-13 Thread Andy Whitcroft
On Mon, Nov 12, 2007 at 02:46:30PM -0500, Mike Frysinger wrote: > the current checkpatch.pl does not reject new files that lack a > newline, yet rejects patches that fix newlines in files ... quite the > opposite of what we actually want [EMAIL PROTECTED] echo -n "moo" >no-newline.c [EMAIL

Re: checkpatch.pl and no newline handling

2007-11-13 Thread Andy Whitcroft
On Mon, Nov 12, 2007 at 02:46:30PM -0500, Mike Frysinger wrote: > the current checkpatch.pl does not reject new files that lack a > newline, yet rejects patches that fix newlines in files ... quite the > opposite of what we actually want Nice. Just what the world needs. I wonder what the heck

Re: checkpatch.pl and no newline handling

2007-11-13 Thread Andy Whitcroft
On Mon, Nov 12, 2007 at 02:46:30PM -0500, Mike Frysinger wrote: the current checkpatch.pl does not reject new files that lack a newline, yet rejects patches that fix newlines in files ... quite the opposite of what we actually want Nice. Just what the world needs. I wonder what the heck that

Re: checkpatch.pl and no newline handling

2007-11-13 Thread Andy Whitcroft
On Mon, Nov 12, 2007 at 02:46:30PM -0500, Mike Frysinger wrote: the current checkpatch.pl does not reject new files that lack a newline, yet rejects patches that fix newlines in files ... quite the opposite of what we actually want [EMAIL PROTECTED] echo -n moo no-newline.c [EMAIL PROTECTED]

checkpatch.pl and no newline handling

2007-11-12 Thread Mike Frysinger
the current checkpatch.pl does not reject new files that lack a newline, yet rejects patches that fix newlines in files ... quite the opposite of what we actually want $ echo -n moo > no-newline $ diff -Nu /dev/null no-newline --- /dev/null 2007-11-10 20:02:36.24800 -0500 +++ no-newline

checkpatch.pl and no newline handling

2007-11-12 Thread Mike Frysinger
the current checkpatch.pl does not reject new files that lack a newline, yet rejects patches that fix newlines in files ... quite the opposite of what we actually want $ echo -n moo no-newline $ diff -Nu /dev/null no-newline --- /dev/null 2007-11-10 20:02:36.24800 -0500 +++ no-newline