diff --git a/[refs] b/[refs] index 38d65c1a094a..f7955e620451 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3ab32df72bfa7bee9126cc5b1abc037aef124f15 +refs/heads/master: 792aa2f2cc4924024e28c9ddf1456434992f9c41 diff --git a/trunk/scripts/kernel-doc b/trunk/scripts/kernel-doc index 1c1d350b4901..7df099e6d1fd 100755 --- a/trunk/scripts/kernel-doc +++ b/trunk/scripts/kernel-doc @@ -1907,7 +1907,7 @@ sub process_file($) { $newsection = $1; $newcontents = $2; - if ($contents ne "") { + if (($contents ne "") && ($contents ne "\n")) { if (!$in_doc_sect && $verbose) { print STDERR "Warning(${file}:$.): contents before sections\n"; ++$warnings;