[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1468570770-29293-1-git-send-email-daniel.vetter@ffwll.ch>
Date: Fri, 15 Jul 2016 10:19:30 +0200
From: Daniel Vetter <daniel.vetter@...ll.ch>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Daniel Vetter <daniel.vetter@...ll.ch>,
Jonathan Corbet <corbet@....net>,
Jani Nikula <jani.nikula@...el.com>, linux-doc@...r.kernel.org,
Daniel Vetter <daniel.vetter@...el.com>
Subject: [PATCH] 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@....net>
Cc: Jani Nikula <jani.nikula@...el.com>
Cc: linux-doc@...r.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@...el.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
Powered by blists - more mailing lists