diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gfp-translate | 2 | ||||
-rwxr-xr-x | scripts/kernel-doc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gfp-translate b/scripts/gfp-translate index 073cb6d152a..d81b968d864 100644 --- a/scripts/gfp-translate +++ b/scripts/gfp-translate @@ -19,7 +19,7 @@ usage() { exit 0 } -# Parse command-line arguements +# Parse command-line arguments while [ $# -gt 0 ]; do case $1 in --source) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 208ad3b0ca5..c7865c362d2 100755 --- 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 = ""; |