aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 102e1235fd5c..a68240c188f3 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1679,7 +1679,7 @@ sub check_sections($$$$$$) {
1679 foreach $px (0 .. $#prms) { 1679 foreach $px (0 .. $#prms) {
1680 $prm_clean = $prms[$px]; 1680 $prm_clean = $prms[$px];
1681 $prm_clean =~ s/\[.*\]//; 1681 $prm_clean =~ s/\[.*\]//;
1682 $prm_clean =~ s/__attribute__\s*\(\([a-z,_\*\s\(\)]*\)\)//; 1682 $prm_clean =~ s/__attribute__\s*\(\([a-z,_\*\s\(\)]*\)\)//i;
1683 # ignore array size in a parameter string; 1683 # ignore array size in a parameter string;
1684 # however, the original param string may contain 1684 # however, the original param string may contain
1685 # spaces, e.g.: addr[6 + 2] 1685 # spaces, e.g.: addr[6 + 2]