LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] kernel-doc: set verbose mode via environment
@ 2008-02-25  1:53 Randy Dunlap
  2008-02-28  3:11 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2008-02-25  1:53 UTC (permalink / raw)
  To: lkml; +Cc: akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Allow setting environment variable "KERNEL_DOC_VERBOSE=1" to enable
verbose mode in scripts/kernel-doc.  Useful for getting more
info and warnings from kernel-doc.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 scripts/kernel-doc |    4 ++++
 1 file changed, 4 insertions(+)

--- linux-2.6.25-rc3.orig/scripts/kernel-doc
+++ linux-2.6.25-rc3/scripts/kernel-doc
@@ -247,6 +247,10 @@ my ($function, %function_table,%paramete
 my ($type,$declaration_name,$return_type);
 my ($newsection,$newcontents,$prototype,$filelist, $brcount, %source_map);
 
+if (defined($ENV{'KERNEL_DOC_VERBOSE'})) {
+	$verbose = "$ENV{'KERNEL_DOC_VERBOSE'}";
+}
+
 # Generated docbook code is inserted in a template at a point where
 # docbook v3.1 requires a non-zero sequence of RefEntry's; see:
 # http://www.oasis-open.org/docbook/documentation/reference/html/refentry.html

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

end of thread, other threads:[~2008-03-02 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-25  1:53 [PATCH] kernel-doc: set verbose mode via environment Randy Dunlap
2008-02-28  3:11 ` Andrew Morton
2008-02-28 16:30   ` Randy Dunlap
2008-02-28 18:32     ` Sam Ravnborg
2008-02-29  0:09       ` [PATCH v2] " Randy Dunlap
2008-03-02 21:15         ` Christian Kujau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).