[PATCH] fix minor problems in checkpatch.pl-next

2007-10-11 Thread Mike D. Day
When forming the prefix to output error msgs in gnu gcc format, the lack of a type ($ or @) when referencing ARGV causes error messages. When invoked to check source files, the linenumber was off by +3 in the gcc format output. Signed-off-by: Mike D. Day <[EMAIL PROTECTED]> --- checkpa

Re: fix minor problems in checkpatch.pl-next

2007-10-11 Thread Mike D. Day
On 11/10/07 15:32 +0100, Andy Whitcroft wrote: On Thu, Oct 11, 2007 at 08:28:00AM -0400, Mike D. Day wrote: When forming the prefix to output error msgs in gnu gcc format, the lack of a type ($ or @) when referencing ARGV causes error messages. When invoked to check source files, the

[PATCH] checkpatch: Fix line number reporting

2007-10-12 Thread Mike D. Day
Fix line number reporting when checking source files (as opposed to patches) Signed-off-by: Mike D. Day <[EMAIL PROTECTED]> --- checkpatch.pl-next (as of Oct. 12) reports lines incorrectly when checking source files as opposed to checking patches. A line number will show up twice in a