kernel-doc: Fix up warning output
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Jul 2016 08:19:30 +0000 (10:19 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 18 Jul 2016 02:38:35 +0000 (20:38 -0600)
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>
scripts/kernel-doc

index 932b3f34ff06384bdbd5cb41e467ba0659c3dc68..7388e88a1f5093eeadf6629e28e02b7cab69d1ac 100755 (executable)
@@ -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;
                }