aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kernel-doc.pl')
-rwxr-xr-xscripts/kernel-doc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc.pl b/scripts/kernel-doc.pl
index af6cf408b96ddb..5db23cbf4eb2bc 100755
--- a/scripts/kernel-doc.pl
+++ b/scripts/kernel-doc.pl
@@ -1325,7 +1325,7 @@ sub dump_enum($$) {
}
}
-my $typedef_type = qr { ((?:\s+[\w\*]+\b){1,8})\s* }x;
+my $typedef_type = qr { ((?:\s+[\w\*]+\b){0,7}\s+(?:\w+\b|\*+))\s* }x;
my $typedef_ident = qr { \*?\s*(\w\S+)\s* }x;
my $typedef_args = qr { \s*\((.*)\); }x;