aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter2016-07-15 10:19:30 +0200
committerJonathan Corbet2016-07-17 20:38:35 -0600
commite7ca311e376c81a51ce031c569f336bdadf5ea98 (patch)
tree87386dd93629fc34ad1827831645590f9e7e4774
parentfd7db68b9363a80d3c6f3b55e05ec56211ea6254 (diff)
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>
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 932b3f34ff06..7388e88a1f50 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -2994,7 +2994,7 @@ sub process_file($) {
}
} elsif ($inline_doc_state == STATE_INLINE_NAME) {
$inline_doc_state = STATE_INLINE_ERROR;
- print STDERR "Warning(${file}:$.): ";
+ print STDERR "${file}:$.: warning: ";
print STDERR "Incorrect use of kernel-doc format: $_";
++$warnings;
}