diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kernel-doc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 83cee18a02e9..88e3934a8b8c 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -1556,7 +1556,9 @@ sub create_parameterlist($$$) { | |||
1556 | push_parameter($2, "$type $1", $file); | 1556 | push_parameter($2, "$type $1", $file); |
1557 | } | 1557 | } |
1558 | elsif ($param =~ m/(.*?):(\d+)/) { | 1558 | elsif ($param =~ m/(.*?):(\d+)/) { |
1559 | push_parameter($1, "$type:$2", $file) | 1559 | if ($type ne "") { # skip unnamed bit-fields |
1560 | push_parameter($1, "$type:$2", $file) | ||
1561 | } | ||
1560 | } | 1562 | } |
1561 | else { | 1563 | else { |
1562 | push_parameter($param, $type, $file); | 1564 | push_parameter($param, $type, $file); |