Skip to content

Commit 232acbc

Browse files
rddunlapLinus Torvalds
authored andcommitted
[PATCH] kernel-doc: script cleanups
Fix indentation. Quote a brace '{' so that vi won't be fooled by it. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 0518949 commit 232acbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/kernel-doc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ sub process_file($) {
17791779
$prototype = "";
17801780
$state = 3;
17811781
$brcount = 0;
1782-
# print STDERR "end of doc comment, looking for prototype\n";
1782+
# print STDERR "end of doc comment, looking for prototype\n";
17831783
} elsif (/$doc_content/) {
17841784
# miguel-style comment kludge, look for blank lines after
17851785
# @parameter line to signify start of description
@@ -1796,7 +1796,7 @@ sub process_file($) {
17961796
print STDERR "Warning(${file}:$.): bad line: $_";
17971797
++$warnings;
17981798
}
1799-
} elsif ($state == 3) { # scanning for function { (end of prototype)
1799+
} elsif ($state == 3) { # scanning for function '{' (end of prototype)
18001800
if ($decl_type eq 'function') {
18011801
process_state3_function($_, $file);
18021802
} else {

0 commit comments

Comments
 (0)