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
  • Joe Perches's avatar
    checkpatch: extend CamelCase types and ignore existing CamelCase uses in a patch · d8b07710
    Joe Perches authored Nov 12, 2013
    Extend the CamelCase words found to include structure members.
    
    In https://lkml.org/lkml/2013/9/3/318 Sarah Sharp (mostly) wrote:
    
    "In general, if checkpatch.pl complains about a variable a patch
    introduces that's CamelCase, you should pay attention to it.  Otherwise,
    [] ignore it."
    
    So, if checking a patch, scan the original patched file if it's available
    and add any preexisting CamelCase types so reuses do not generate
    CamelCase messages.
    
    That also means Andrew's not so cruelly spurned anymore.
    https://lkml.org/lkml/2013/2/22/426
    
    
    
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Suggested-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
    Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    d8b07710
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7