aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2018-11-07 18:47:12 +0200
committerJonathan Corbet <corbet@lwn.net>2018-11-07 15:38:56 -0700
commit76dd3e7b6650ba5aed96347e685657f80590a7b6 (patch)
tree2183375da7fd98bad888ad92c5db2c2babd134f0 /scripts/kernel-doc
parentdoc-guide:kernel-doc.rst: Reference to foobar (diff)
downloadlinux-dev-76dd3e7b6650ba5aed96347e685657f80590a7b6.tar.xz
linux-dev-76dd3e7b6650ba5aed96347e685657f80590a7b6.zip
kernel-doc: kill trailing whitespace
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to '')
-rwxr-xr-xscripts/kernel-doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index ffbe901a37b5..24d3550f7b45 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -361,7 +361,7 @@ my $doc_com = '\s*\*\s*';
my $doc_com_body = '\s*\* ?';
my $doc_decl = $doc_com . '(\w+)';
# @params and a strictly limited set of supported section names
-my $doc_sect = $doc_com .
+my $doc_sect = $doc_com .
'\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)';
my $doc_content = $doc_com_body . '(.*)';
my $doc_block = $doc_com . 'DOC:\s*(.*)?';
@@ -751,7 +751,7 @@ sub output_blockhead_rst(%) {
#
# Apply the RST highlights to a sub-block of text.
-#
+#
sub highlight_block($) {
# The dohighlight kludge requires the text be called $contents
my $contents = shift;