diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-06-07 09:29:59 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-06-10 10:29:18 +0200 |
commit | da9726ecfba202514d984129c3537b028519cdb8 (patch) | |
tree | 698a07607662d55acdfe62e04bf9fe349e88dd7e /scripts | |
parent | kernel-doc: do not warn about duplicate default section names (diff) | |
download | linux-da9726ecfba202514d984129c3537b028519cdb8.tar.xz linux-da9726ecfba202514d984129c3537b028519cdb8.zip |
kernel-doc: add missing semi-colons in option parsing
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kernel-doc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +484,10 @@ while ($ARGV[0] =~ m/^-(.*)/) { $function_table{$function} = 1; } elsif ($cmd eq "-export") { # only exported symbols $output_selection = OUTPUT_EXPORTED; - %function_table = () + %function_table = (); } elsif ($cmd eq "-internal") { # only non-exported symbols $output_selection = OUTPUT_INTERNAL; - %function_table = () + %function_table = (); } elsif ($cmd eq "-v") { $verbose = 1; } elsif (($cmd eq "-h") || ($cmd eq "--help")) { |