diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 4305b2f2ec5e..16e8b50c8fcb 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -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; }