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 <corbet@lwn.net> Cc: Jani Nikula <jani.nikula@intel.com> Cc: linux-doc@vger.kernel.org Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent fd7db68 commit e7ca311

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)