LWN.net Logo

checkpatch: update to versoin 0.25

From:  Andy Whitcroft <apw@shadowen.org>
To:  Andrew Morton <akpm@osdl.org>
Subject:  [PATCH 0/9] checkpatch: update to versoin 0.25
Date:  Thu, 23 Oct 2008 12:06:30 +0100
Message-ID:  <1224759999-21389-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 couple of new checks, and a number of fixes.  Of note:

 - adds checks for missuse of in_atomic(),
 - checks for spacing within stars in pointer types, and
 - fixes some comment detection corner cases.

Complete changelog below.

-apw

Andy Whitcroft (9):
  checkpatch: add checks for in_atomic()
  checkpatch: comment detection may miss an implied comment on the last
    hunk
  checkpatch: widen implied comment detection to allow multiple stars
  checkpatch: structure member assignments are not complex
  checkpatch: __weak is an official attribute
  checkpatch: detect multiple bitfield declarations
  checkpatch: comment ends inside strings is most likely not an open
    comment
  checkpatch: dissallow spaces between stars in pointer types
  checkpatch: version: 0.25

 scripts/checkpatch.pl |   92 ++++++++++++++++++++++++++++++++++---------------
 1 files changed, 64 insertions(+), 28 deletions(-)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds