nvme: optimise io_uring passthrough completion
[linux-block.git] / scripts / kernel-doc
index 54b0893cae666f7875db1dd2d537fde1d11701d9..2486689ffc7b47a5f987a31cd88d7cd6e24ce2a6 100755 (executable)
@@ -175,8 +175,8 @@ my $declaration_start_line;
 my ($type, $declaration_name, $return_type);
 my ($newsection, $newcontents, $prototype, $brcount, %source_map);
 
-if (defined($ENV{'KBUILD_VERBOSE'})) {
-       $verbose = "$ENV{'KBUILD_VERBOSE'}";
+if (defined($ENV{'KBUILD_VERBOSE'}) && $ENV{'KBUILD_VERBOSE'} =~ '1') {
+       $verbose = 1;
 }
 
 if (defined($ENV{'KCFLAGS'})) {
@@ -2079,17 +2079,6 @@ sub process_name($$) {
 sub process_body($$) {
     my $file = shift;
 
-    # Until all named variable macro parameters are
-    # documented using the bare name (`x`) rather than with
-    # dots (`x...`), strip the dots:
-    if ($section =~ /\w\.\.\.$/) {
-       $section =~ s/\.\.\.$//;
-
-       if ($verbose) {
-           emit_warning("${file}:$.", "Variable macro arguments should be documented without dots\n");
-       }
-    }
-
     if ($state == STATE_BODY_WITH_BLANK_LINE && /^\s*\*\s?\S/) {
        dump_section($file, $section, $contents);
        $section = $section_default;