commit | 31070b5d4490c6c876e0d3b093e5d5b05e4027fa | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Thu Jan 23 15:54:49 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 23 16:36:58 2014 -0800 |
tree | 7d6a71fcb471bdc4f82e6fc101d8043e966f1d15 | |
parent | 3e2232f2d03ffa531e31662c447496ec2552d85b [diff] |
checkpatch: add tests for function pointer style misuses Kernel style uses function pointers in this form: "type (*funcptr)(args...)" Emit warnings when this function pointer form isn't used. Signed-off-by: Joe Perches <joe@perches.com> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Derek Perrin <d.roc16@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>