]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b5d604db45650e01fc9956533ecba3449adfb04
tree43144ded5c1dd923e98aed7417cdfda5acc52d58
parent967c4a1caf86438322a136df47189f8a01e11917
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