docbook: skip files with no docs since they generate scary warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 11 Sep 2010 22:55:26 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Sep 2010 23:49:21 +0000 (16:49 -0700)
commit39d709392ffc1d05f825191b07b7d865d434f282
tree43144ded5c1dd923e98aed7417cdfda5acc52d58
parenteda603f6cdba4b14dbf80531fab2fe545232e7a0
docbook: skip files with no docs since they generate scary warnings

Fix docbook templates that reference files that do not contain the
expected kernel-doc notation.

Fixes these warnings:

  Warning(arch/x86/include/asm/unaligned.h): no structured comments found
  Warning(lib/vsprintf.c): no structured comments found

These cause errors in the generated html output, like below, so drop
these lines.

  Name
  arch/x86/include/asm/unaligned.h - Document generation inconsistency
  Oops
  Warning
  The template for this document tried to insert the structured comment from the file arch/x86/include/asm/unaligned.h at this point, but none was found. This dummy section is inserted to allow generation to continue.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/DocBook/device-drivers.tmpl
Documentation/DocBook/kernel-api.tmpl