Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository

Switch branch/tag
  • ipipe
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Joe Perches's avatar
    checkpatch: Add --strict test for function pointer calling style · ea4acbb1
    Joe Perches authored Dec 10, 2014
    
    
    Peter Hurley wrote:
    
    The use of older function ptr calling style, (*fn)(), makes static
    analysis more error-prone; replace with modern fn() style.
    
    So make checkpatch emit a --strict test for that condition.
    
    Update the unnecessary parentheses test for dereferencing
    objects at the same time and create a $fix mechanism too.
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Cc: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    ea4acbb1

Replace checkpatch.pl

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy