Re: [PATCH 3/3] New script to check coding-style compliance on multiple regular files

From: Sam Ravnborg
Date: Sat Sep 29 2007 - 06:08:55 EST


Hi Erez.

On Fri, Sep 28, 2007 at 05:32:02PM -0400, Erez Zadok wrote:
> The script calls checkpatch.pl on each file, and formats any error messages
> to comply with standard compiler error messages:
>
> file_name:line_number:error_message
>
> This is particularly useful when run from within a text editor which can
> parse these error messages and show the user a buffer with the file in
> question, placing the cursor on the offending line (e.g., Emacs's "M-x
> next-error" command, bound by default to C-x `).

The concept is wrong here. If we want checkpatch to generate
message in standard gcc format then we should fix checkpatch and
not add a wrapper script around it.

For checkpatch related patches please forward them to the checkpatch
maintainers.

>From MAINTAINERS:

CHECKPATCH
P: Andy Whitcroft
M: apw@xxxxxxxxxxxx
P: Randy Dunlap
M: rdunlap@xxxxxxxxxxxx
P: Joel Schopp
M: jschopp@xxxxxxxxxxxxxx
S: Supported



Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/