diff options
author | Joe Perches <joe@perches.com> | 2014-01-23 15:54:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 16:36:58 -0800 |
commit | 31070b5d4490c6c876e0d3b093e5d5b05e4027fa (patch) | |
tree | 7d6a71fcb471bdc4f82e6fc101d8043e966f1d15 /kernel/kmod.c | |
parent | 3e2232f2d03ffa531e31662c447496ec2552d85b (diff) | |
download | linux-31070b5d4490c6c876e0d3b093e5d5b05e4027fa.tar.bz2 |
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>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions