[PATCH 00/16] update checkpatch to v0.31

From: Andy Whitcroft
Date: Wed Aug 18 2010 - 11:50:01 EST


After a long hiatus here is a batch of checkpatch updates from my tree.
I have resynced with the version in v2.6.36-rc1 and added tests for all
of the changes therein. This has thrown up a couple of regressions introduced
in those changes. This update includes fixes for those, as below:

checkpatch: fix regressions in "fix handling of leading spaces"
checkpatch: ensure kconfig help checks only apply when we are adding help

The rest of my commits mostly fixes for false positives reported directly
to me. There are also a couple of fixes from Joe and Rabin which I've
integrated and tested.

Joe et al thanks for chiming in on many of the pending threads, most
helpful.

Complete changelog below.

-apw

Andy Whitcroft (14):
checkpatch: fix regressions in "fix handling of leading spaces"
checkpatch: types may sit on a line on their own
checkpatch: suggest cleanpatch and cleanfile when appropriate
checkpatch: ensure we do not collapse bracketed sections into constants
checkpatch: handle casts better fixing false categorisation of : as binary
checkpatch: returning errno typically should be negative
checkpatch: add check for space after struct, union, and enum
checkpatch: simplify and consolidate "missing space after" checks
checkpatch: ensure kconfig help checks only apply when we are adding help
checkpatch: update copyright dates
checkpatch: clean up structure definition macro handline
checkpatch: handle EXPORT_SYMBOL for DEVICE_ATTR and similar
checkpatch: statement/block context analyser should look at sanitised lines
checkpatch: version 0.31

Joe Perches (1):
checkpatch: Add additional attribute #defines

Rabin Vincent (1):
checkpatch: check for incorrect permissions

scripts/checkpatch.pl | 133 ++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 109 insertions(+), 24 deletions(-)

--
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/