aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 1c1d350b4901..7df099e6d1fd 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1907,7 +1907,7 @@ sub process_file($) {
1907 $newsection = $1; 1907 $newsection = $1;
1908 $newcontents = $2; 1908 $newcontents = $2;
1909 1909
1910 if ($contents ne "") { 1910 if (($contents ne "") && ($contents ne "\n")) {
1911 if (!$in_doc_sect && $verbose) { 1911 if (!$in_doc_sect && $verbose) {
1912 print STDERR "Warning(${file}:$.): contents before sections\n"; 1912 print STDERR "Warning(${file}:$.): contents before sections\n";
1913 ++$warnings; 1913 ++$warnings;