diff options
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-x | scripts/kernel-doc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 99364a5e77f2..83cee18a02e9 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -1950,6 +1950,11 @@ sub process_file($) { | |||
1950 | $section = $section_default; | 1950 | $section = $section_default; |
1951 | $contents = ""; | 1951 | $contents = ""; |
1952 | } | 1952 | } |
1953 | # look for doc_com + <text> + doc_end: | ||
1954 | if ($_ =~ m'\s*\*\s*[a-zA-Z_0-9:\.]+\*/') { | ||
1955 | print STDERR "Warning(${file}:$.): suspicious ending line: $_"; | ||
1956 | ++$warnings; | ||
1957 | } | ||
1953 | 1958 | ||
1954 | $prototype = ""; | 1959 | $prototype = ""; |
1955 | $state = 3; | 1960 | $state = 3; |