aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2024-04-02 12:44:09 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2024-04-02 12:44:09 -0700
commitb1e6ec0a0fd0252af046e542f91234cd6c30b2cb (patch)
treefbf50a327ac2e2dd3f14c78220816a5c554eb0df /scripts
parentMerge tag 'bcachefs-2024-04-01' of https://evilpiepirate.org/git/bcachefs (diff)
parentdocs: zswap: fix shell command format (diff)
downloadlinux-b1e6ec0a0fd0252af046e542f91234cd6c30b2cb.tar.gz
linux-b1e6ec0a0fd0252af046e542f91234cd6c30b2cb.tar.bz2
linux-b1e6ec0a0fd0252af046e542f91234cd6c30b2cb.zip
Merge tag 'docs-6.9-fixes' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "Four small documentation fixes" * tag 'docs-6.9-fixes' of git://git.lwn.net/linux: docs: zswap: fix shell command format tracing: Fix documentation on tp_printk cmdline option docs: Fix bitfield handling in kernel-doc Documentation: dev-tools: Add link to RV docs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 967f1abb0edb..cb1be22afc65 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1541,7 +1541,7 @@ sub create_parameterlist($$$$) {
save_struct_actual($2);
push_parameter($2, "$type $1", $arg, $file, $declaration_name);
- } elsif ($param =~ m/(.*?):(\d+)/) {
+ } elsif ($param =~ m/(.*?):(\w+)/) {
if ($type ne "") { # skip unnamed bit-fields
save_struct_actual($1);
push_parameter($1, "$type:$2", $arg, $file, $declaration_name)