git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/kernel-doc: fix empty function description section
[pandora-kernel.git]
/
scripts
/
kernel-doc
diff --git
a/scripts/kernel-doc
b/scripts/kernel-doc
index
208ad3b
..
c7865c3
100755
(executable)
--- a/
scripts/kernel-doc
+++ b/
scripts/kernel-doc
@@
-2103,7
+2103,7
@@
sub process_file($) {
$section = $newsection;
} elsif (/$doc_end/) {
- if (
$contents ne ""
) {
+ if (
($contents ne "") && ($contents ne "\n")
) {
dump_section($file, $section, xml_escape($contents));
$section = $section_default;
$contents = "";