mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernel-doc: Fix up warning output
@ 2016-07-15  8:19 Daniel Vetter
  2016-07-18  2:38 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Vetter @ 2016-07-15  8:19 UTC (permalink / raw)
  To: LKML
  Cc: Daniel Vetter, Jonathan Corbet, Jani Nikula, linux-doc, Daniel Vetter

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>
---
 scripts/kernel-doc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 27757c21551a..e067cfb59321 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -2969,7 +2969,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;
 		}
-- 
2.8.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel-doc: Fix up warning output
  2016-07-15  8:19 [PATCH] kernel-doc: Fix up warning output Daniel Vetter
@ 2016-07-18  2:38 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2016-07-18  2:38 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: LKML, Jani Nikula, linux-doc, Daniel Vetter

On Fri, 15 Jul 2016 10:19:30 +0200
Daniel Vetter <daniel.vetter@ffwll.ch> wrote:

> 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.

Applied to the docs tree - awesomeness achieved.

Thanks,

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-18  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15  8:19 [PATCH] kernel-doc: Fix up warning output Daniel Vetter
2016-07-18  2:38 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®