summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-10 15:51:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:12 -0800
commitea4acbb11e32a2a1e7d80aa3d3039f909647ceee (patch)
tree8faec310c2965f428c2c1e2c7a97852108204b15 /ipc
parente0d975b1b439c4fef58fbc306c542c94f48bb849 (diff)
downloadlinux-ea4acbb11e32a2a1e7d80aa3d3039f909647ceee.tar.gz
linux-ea4acbb11e32a2a1e7d80aa3d3039f909647ceee.tar.bz2
linux-ea4acbb11e32a2a1e7d80aa3d3039f909647ceee.zip
checkpatch: Add --strict test for function pointer calling style
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: Joe Perches <joe@perches.com> Cc: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions