scripts/kernel-doc: make unknown function prototype a Warning instead of an Error
[firefly-linux-kernel-4.4.55.git] / scripts / kernel-doc
index 4305b2f2ec5eb7f8432c2c6dd7daf983b59f6d24..16e8b50c8fcb6138fada37734c31aa960ee058c7 100755 (executable)
@@ -2125,8 +2125,7 @@ sub dump_function($$) {
 
        create_parameterlist($args, ',', $file);
     } else {
-       print STDERR "Error(${file}:$.): cannot understand prototype: '$prototype'\n";
-       ++$errors;
+       print STDERR "Warning(${file}:$.): cannot understand function prototype: '$prototype'\n";
        return;
     }