commit | 31070b5d4490c6c876e0d3b093e5d5b05e4027fa | [log] [tgz] |
---|---|---|
author | Joe Perches <[email protected]> | Thu Jan 23 15:54:49 2014 -0800 |
committer | Linus Torvalds <[email protected]> | 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 <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: Derek Perrin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>