summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-15 04:19:30 -0400
committerJonathan Corbet <corbet@lwn.net>2016-07-17 22:38:35 -0400
commite7ca311e376c81a51ce031c569f336bdadf5ea98 (patch)
tree87386dd93629fc34ad1827831645590f9e7e4774 /scripts/kernel-doc
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>
Diffstat (limited to 'scripts/kernel-doc')
-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($) {
2994 } 2994 }
2995 } elsif ($inline_doc_state == STATE_INLINE_NAME) { 2995 } elsif ($inline_doc_state == STATE_INLINE_NAME) {
2996 $inline_doc_state = STATE_INLINE_ERROR; 2996 $inline_doc_state = STATE_INLINE_ERROR;
2997 print STDERR "Warning(${file}:$.): "; 2997 print STDERR "${file}:$.: warning: ";
2998 print STDERR "Incorrect use of kernel-doc format: $_"; 2998 print STDERR "Incorrect use of kernel-doc format: $_";
2999 ++$warnings; 2999 ++$warnings;
3000 } 3000 }