Skip to content

Commit e7ca311

Browse files
danvetJonathan Corbet
authored andcommitted
kernel-doc: Fix up warning output
While trying to make gpu docs warning free I stumbled over one output which wasn't following proper compiler error output standards. Fix it up for more quickfix awesomeness. Cc: Jonathan Corbet <[email protected]> Cc: Jani Nikula <[email protected]> Cc: [email protected] Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
1 parent fd7db68 commit e7ca311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kernel-doc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2994,7 +2994,7 @@ sub process_file($) {
29942994
}
29952995
} elsif ($inline_doc_state == STATE_INLINE_NAME) {
29962996
$inline_doc_state = STATE_INLINE_ERROR;
2997-
print STDERR "Warning(${file}:$.): ";
2997+
print STDERR "${file}:$.: warning: ";
29982998
print STDERR "Incorrect use of kernel-doc format: $_";
29992999
++$warnings;
30003000
}

0 commit comments

Comments
 (0)