Skip to content

Commit 39d7093

Browse files
rddunlaptorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent eda603f commit 39d7093

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Documentation/DocBook/device-drivers.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
<sect1><title>Atomic and pointer manipulation</title>
4848
!Iarch/x86/include/asm/atomic.h
49-
!Iarch/x86/include/asm/unaligned.h
5049
</sect1>
5150

5251
<sect1><title>Delaying, scheduling, and timer routines</title>

Documentation/DocBook/kernel-api.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
</para>
5858

5959
<sect1><title>String Conversions</title>
60-
!Ilib/vsprintf.c
6160
!Elib/vsprintf.c
6261
</sect1>
6362
<sect1><title>String Manipulation</title>

0 commit comments

Comments
 (0)