diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kernel-doc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 99fe4b7fb2f1..fc0835bf65e2 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -1762,6 +1762,9 @@ sub process_file($) { | |||
1762 | 1762 | ||
1763 | $contents = $newcontents; | 1763 | $contents = $newcontents; |
1764 | if ($contents ne "") { | 1764 | if ($contents ne "") { |
1765 | if (substr($contents, 0, 1) eq " ") { | ||
1766 | $contents = substr($contents, 1); | ||
1767 | } | ||
1765 | $contents .= "\n"; | 1768 | $contents .= "\n"; |
1766 | } | 1769 | } |
1767 | $section = $newsection; | 1770 | $section = $newsection; |