aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2018-11-07 11:47:12 -0500
committerJonathan Corbet <corbet@lwn.net>2018-11-07 17:38:56 -0500
commit76dd3e7b6650ba5aed96347e685657f80590a7b6 (patch)
tree2183375da7fd98bad888ad92c5db2c2babd134f0 /scripts/kernel-doc
parent1bb37a35671cb3fea74c213220dbd3815344f673 (diff)
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 'scripts/kernel-doc')
-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*';
361my $doc_com_body = '\s*\* ?'; 361my $doc_com_body = '\s*\* ?';
362my $doc_decl = $doc_com . '(\w+)'; 362my $doc_decl = $doc_com . '(\w+)';
363# @params and a strictly limited set of supported section names 363# @params and a strictly limited set of supported section names
364my $doc_sect = $doc_com . 364my $doc_sect = $doc_com .
365 '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)'; 365 '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)';
366my $doc_content = $doc_com_body . '(.*)'; 366my $doc_content = $doc_com_body . '(.*)';
367my $doc_block = $doc_com . 'DOC:\s*(.*)?'; 367my $doc_block = $doc_com . 'DOC:\s*(.*)?';
@@ -751,7 +751,7 @@ sub output_blockhead_rst(%) {
751 751
752# 752#
753# Apply the RST highlights to a sub-block of text. 753# Apply the RST highlights to a sub-block of text.
754# 754#
755sub highlight_block($) { 755sub highlight_block($) {
756 # The dohighlight kludge requires the text be called $contents 756 # The dohighlight kludge requires the text be called $contents
757 my $contents = shift; 757 my $contents = shift;