aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 4f559de8b173..e93e796b17ce 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -2814,11 +2814,11 @@ sub process_file($) {
2814 $in_doc_sect = 1; 2814 $in_doc_sect = 1;
2815 $in_purpose = 0; 2815 $in_purpose = 0;
2816 $contents = $newcontents; 2816 $contents = $newcontents;
2817 while ((substr($contents, 0, 1) eq " ") ||
2818 substr($contents, 0, 1) eq "\t") {
2819 $contents = substr($contents, 1);
2820 }
2817 if ($contents ne "") { 2821 if ($contents ne "") {
2818 while ((substr($contents, 0, 1) eq " ") ||
2819 substr($contents, 0, 1) eq "\t") {
2820 $contents = substr($contents, 1);
2821 }
2822 $contents .= "\n"; 2822 $contents .= "\n";
2823 } 2823 }
2824 $section = $newsection; 2824 $section = $newsection;