summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2024-12-11 09:16:00 -0700
committerJonathan Corbet <corbet@lwn.net>2024-12-11 09:16:00 -0700
commit92b3d24de890ced604a741ab3cb9095c210be2c9 (patch)
tree5d11799e7f7b74e9fa37b3fe0f7b2d343eb9646e
parent9fc78ffaf0c72aefc4074d1492b313195d0c9970 (diff)
parentd9339496729f1471b8dc326face17c4cf108b027 (diff)
downloadlwn-92b3d24de890ced604a741ab3cb9095c210be2c9.tar.gz
lwn-92b3d24de890ced604a741ab3cb9095c210be2c9.zip
Merge branch 'docs-fixes' into docs-next
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index f66070176ba3..4ee843d3600e 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -267,7 +267,7 @@ my $doc_inline_sect = '\s*\*\s*(@\s*[\w][\w\.]*\s*):(.*)';
my $doc_inline_end = '^\s*\*/\s*$';
my $doc_inline_oneline = '^\s*/\*\*\s*(@[\w\s]+):\s*(.*)\s*\*/\s*$';
my $export_symbol = '^\s*EXPORT_SYMBOL(_GPL)?\s*\(\s*(\w+)\s*\)\s*;';
-my $export_symbol_ns = '^\s*EXPORT_SYMBOL_NS(_GPL)?\s*\(\s*(\w+)\s*,\s*\w+\)\s*;';
+my $export_symbol_ns = '^\s*EXPORT_SYMBOL_NS(_GPL)?\s*\(\s*(\w+)\s*,\s*"\S+"\)\s*;';
my $function_pointer = qr{([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)};
my $attribute = qr{__attribute__\s*\(\([a-z0-9,_\*\s\(\)]*\)\)}i;