mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
b8f96a31f3
commit
8ea3eb9a20
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ sub annotate_values {
|
|||
$av_preprocessor = 0;
|
||||
}
|
||||
|
||||
} elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\))/) {
|
||||
} elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\)|\()/) {
|
||||
print "DECLARE($1)\n" if ($dbg_values > 1);
|
||||
$type = 'T';
|
||||
|
||||
|
|
Loading…
Reference in a new issue