diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-07-15 04:19:30 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-07-17 22:38:35 -0400 |
commit | e7ca311e376c81a51ce031c569f336bdadf5ea98 (patch) | |
tree | 87386dd93629fc34ad1827831645590f9e7e4774 /scripts/kernel-doc | |
parent | fd7db68b9363a80d3c6f3b55e05ec56211ea6254 (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-x | scripts/kernel-doc | 2 |
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 | } |