checkpatch: handle return types of pointers to functions
authorAndy Whitcroft <apw@shadowen.org>
Thu, 24 Jul 2008 04:29:08 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:26 +0000 (10:47 -0700)
commit8ea3eb9a20f39d5afa52900a34092b4b5f6b55cb
treead79fe0bade637209967aadf23a34447c717fe1a
parentb8f96a31f38c8e9fc75f0a89c6815e7cbc402858
checkpatch: handle return types of pointers to functions

Make sure we correctly mark the return type of the pointer to a function
declaration.

    const void *(*sb_tag)(struct sysfs_tag_info *info);

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl