public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] kernel-doc: script cleanups
@ 2006-05-20  4:48 Randy.Dunlap
  2006-05-20 10:26 ` Martin Waitz
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-05-20  4:48 UTC (permalink / raw)
  To: lkml; +Cc: tali, akpm

From: Randy Dunlap <rdunlap@xenotime.net>

Fix indentation.
Quote a brace '{' so that vi won't be fooled by it.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---

 scripts/kernel-doc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2617-rc4.orig/scripts/kernel-doc
+++ linux-2617-rc4/scripts/kernel-doc
@@ -1779,7 +1779,7 @@ sub process_file($) {
 		$prototype = "";
 		$state = 3;
 		$brcount = 0;
-#	    print STDERR "end of doc comment, looking for prototype\n";
+#		print STDERR "end of doc comment, looking for prototype\n";
 	    } elsif (/$doc_content/) {
 		# miguel-style comment kludge, look for blank lines after
 		# @parameter line to signify start of description
@@ -1796,7 +1796,7 @@ sub process_file($) {
 		print STDERR "Warning(${file}:$.): bad line: $_";
 		++$warnings;
 	    }
-	} elsif ($state == 3) {	# scanning for function { (end of prototype)
+	} elsif ($state == 3) {	# scanning for function '{' (end of prototype)
 	    if ($decl_type eq 'function') {
 	        process_state3_function($_, $file);
 	    } else {


---

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

end of thread, other threads:[~2006-05-20 10:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-20  4:48 [PATCH 2/2] kernel-doc: script cleanups Randy.Dunlap
2006-05-20 10:26 ` Martin Waitz

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