Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Vadim Bendebury's avatar
    checkpatch: allow reporting C99 style comments · 98005e8c
    Vadim Bendebury authored Mar 07, 2019
    Presently C99 style comments are removed unconditionally before actual
    patch validity check happens.  This is a problem for some third party
    projects which use checkpatch.pl but do not allow C99 style comments.
    
    This patch adds yet another variable, named C99_COMMENT_TOLERANCE.  If
    it is included in the --ignore command line or config file options list,
    C99 comments in the patch are reported as errors.
    
    Tested by processing a patch with a C99 style comment, it passes the
    check just fine unless '--ignore C99_COMMENT_TOLERANCE' is present in
    .checkpatch.conf.
    
    Link: http://lkml.kernel.org/r/20190110224957.25008-1-vbendeb@chromium.org
    
    
    Signed-off-by: default avatarVadim Bendebury <vbendeb@chromium.org>
    Cc: Joe Perches <joe@perches.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    98005e8c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7