| From: |
| Andy Whitcroft <apw@shadowen.org> |
| To: |
| Andrew Morton <akpm@osdl.org> |
| Subject: |
| [PATCH 00/13] checkpatch: update to version 0.24 |
| Date: |
| Fri, 3 Oct 2008 16:25:41 +0100 |
| Message-ID: |
| <1223047554-31111-1-git-send-email-apw@shadowen.org> |
| Cc: |
| Randy Dunlap <rdunlap@xenotime.net>,
Joel Schopp <jschopp@austin.ibm.com>,
Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org,
Andy Whitcroft <apw@shadowen.org> |
| Archive-link: |
| Article,
Thread
|
This update brings a large number of small fixes to existing checks.
Of note:
- fixes up a number of false type detections,
- code indent checks handle macros and continuation,
- complex macro detection handles square bracket nesting correctly, and
- better comment handling for case.
Complete changelog below.
*** BLURB HERE ***
Andy Whitcroft (13):
checkpatch: do is not a possible type
checkpatch: labels are not possible types
checkpatch: handle do without braces if we have enough context
checkpatch: macros which define structure members are not complex
checkpatch: accept any sized le/be type
checkpatch: pull out known acceptable typedefs
checkpatch: suspect code indent must stop at #else/#elif
checkpatch: complex macros checks miss square brackets
checkpatch: DEFINE_ macros are real definitions for exports
checkpatch: trailing statements ensure we report the end of the line
checkpatch: suspect indent handle macro continuation
checkpatch: allow for comments either side of a brace on case
checkpatch: version: 0.24
scripts/checkpatch.pl | 110 +++++++++++++++++++++++++++++++++++++-----------
1 files changed, 85 insertions(+), 25 deletions(-)