diff options
| author | Mike Rapoport <rppt@linux.ibm.com> | 2018-11-07 11:47:12 -0500 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2018-11-07 17:38:56 -0500 |
| commit | 76dd3e7b6650ba5aed96347e685657f80590a7b6 (patch) | |
| tree | 2183375da7fd98bad888ad92c5db2c2babd134f0 /scripts/kernel-doc | |
| parent | 1bb37a35671cb3fea74c213220dbd3815344f673 (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-x | scripts/kernel-doc | 4 |
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*'; | |||
| 361 | my $doc_com_body = '\s*\* ?'; | 361 | my $doc_com_body = '\s*\* ?'; |
| 362 | my $doc_decl = $doc_com . '(\w+)'; | 362 | my $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 |
| 364 | my $doc_sect = $doc_com . | 364 | my $doc_sect = $doc_com . |
| 365 | '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)'; | 365 | '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)'; |
| 366 | my $doc_content = $doc_com_body . '(.*)'; | 366 | my $doc_content = $doc_com_body . '(.*)'; |
| 367 | my $doc_block = $doc_com . 'DOC:\s*(.*)?'; | 367 | my $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 | # |
| 755 | sub highlight_block($) { | 755 | sub 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; |
