Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83749
b: refs/heads/master
c: 77cc23b
h: refs/heads/master
i:
  83747: d8b0376
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Feb 7, 2008
1 parent cc8cd5f commit bcc3591
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 792aa2f2cc4924024e28c9ddf1456434992f9c41
refs/heads/master: 77cc23b8c7f2f5ea0270bf4be31438aa38316e16
8 changes: 8 additions & 0 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ sub usage {
print " [ -function funcname [ -function funcname ...] ]\n";
print " [ -nofunction funcname [ -nofunction funcname ...] ]\n";
print " c source file(s) > outputfile\n";
print " -v : verbose output, more warnings & other info listed\n";
exit 1;
}

Expand Down Expand Up @@ -1881,6 +1882,13 @@ sub process_file($) {
} else {
$declaration_purpose = "";
}

if (($declaration_purpose eq "") && $verbose) {
print STDERR "Warning(${file}:$.): missing initial short description on line:\n";
print STDERR $_;
++$warnings;
}

if ($identifier =~ m/^struct/) {
$decl_type = 'struct';
} elsif ($identifier =~ m/^union/) {
Expand Down

0 comments on commit bcc3591

Please sign in to comment.