summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-04-17 13:10:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-17 13:10:50 -0700
commit90280eaa88ac1a9140dc759941123530d5545bb6 (patch)
tree82522018ded0269fba851ebc2cdfca7c07c0ed7b /scripts/kernel-doc
parent5d286d5ebcf6cb93b340f2439fe16a90b544c6e5 (diff)
parentd98dbbe0d331b1a6dc1ca0b948c99d58cdba580c (diff)
downloadcachepc-linux-90280eaa88ac1a9140dc759941123530d5545bb6.tar.gz
cachepc-linux-90280eaa88ac1a9140dc759941123530d5545bb6.zip
Merge tag 'docs-fixes' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "A handful of fixes for reasonably obnoxious documentation issues" * tag 'docs-fixes' of git://git.lwn.net/linux: scripts: documentation-file-ref-check: Add line break before exit scripts/kernel-doc: Add missing close-paren in c:function directives docs: admin-guide: merge sections for the kernel.modprobe sysctl docs: timekeeping: Use correct prototype for deprecated functions
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index f2d73f04e71d..f746ca8fa403 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -853,7 +853,7 @@ sub output_function_rst(%) {
if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
# pointer-to-function
- print $1 . $parameter . ") (" . $2;
+ print $1 . $parameter . ") (" . $2 . ")";
} else {
print $type . " " . $parameter;
}