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
  • Andy Whitcroft's avatar
    checkpatch: catch all occurences of type and cast spacing errors per line · bfcb2cc7
    Andy Whitcroft authored Jan 10, 2012
    
    
    Fix up type and cast spacing checks such that all occurences on a line are
    examined and reported.  For example the line below has a valid cast and a
    bad type, but currently we check the cast first which is good and stop:
    
        u16* bar = (u16 *)baz;
    
    We will also only report one of the errors in this example:
    
        u16* bar = (u16*)bad;
    
    Move to iterating across all casts and all types, reporting any failure.
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
    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>
    bfcb2cc7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7