diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-11-07 04:01:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:55 -0500 |
commit | 8f2709b542c96a2b1910ca5f2fe27dc9023b1225 (patch) | |
tree | 2c1b38ee2b0f203322f01e2816644d16b63a71f1 | |
parent | 6c8bec6d5f24b01c53b792b06a645e78d482020d (diff) |
[PATCH] kernel-doc: fix some kernel-api warnings
Fix various warnings in kernel-doc:
Warning(linux-2614-rc4//include/linux/net.h:89): Enum value 'SOCK_DCCP' not described in enum 'sock_type'
usercopy.c: should use !E instead of !I for exported symbols:
Warning(linux-2614-rc4//arch/i386/lib/usercopy.c): no structured comments found
fs.h does not need to use !E since it has no exported symbols:
Warning(linux-2614-rc4//include/linux/fs.h:1182): No description found for parameter 'find_exported_dentry'
Warning(linux-2614-rc4//include/linux/fs.h): no structured comments found
irq/manage.c should use !E for its exported symbols:
Warning(linux-2614-rc4//kernel/irq/manage.c): no structured comments found
macmodes.c should use !E for its exported symbols:
Warning(linux-2614-rc4//drivers/video/macmodes.c): no structured comments found
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | Documentation/DocBook/kernel-api.tmpl | 7 | ||||
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/net.h | 1 |
3 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/DocBook/kernel-api.tmpl b/Documentation/DocBook/kernel-api.tmpl index ec474e5a25ed..a8316b1a3e3d 100644 --- a/Documentation/DocBook/kernel-api.tmpl +++ b/Documentation/DocBook/kernel-api.tmpl | |||
@@ -118,7 +118,7 @@ X!Ilib/string.c | |||
118 | </sect1> | 118 | </sect1> |
119 | <sect1><title>User Space Memory Access</title> | 119 | <sect1><title>User Space Memory Access</title> |
120 | !Iinclude/asm-i386/uaccess.h | 120 | !Iinclude/asm-i386/uaccess.h |
121 | !Iarch/i386/lib/usercopy.c | 121 | !Earch/i386/lib/usercopy.c |
122 | </sect1> | 122 | </sect1> |
123 | <sect1><title>More Memory Management Functions</title> | 123 | <sect1><title>More Memory Management Functions</title> |
124 | !Iinclude/linux/rmap.h | 124 | !Iinclude/linux/rmap.h |
@@ -174,7 +174,6 @@ X!Ilib/string.c | |||
174 | <title>The Linux VFS</title> | 174 | <title>The Linux VFS</title> |
175 | <sect1><title>The Filesystem types</title> | 175 | <sect1><title>The Filesystem types</title> |
176 | !Iinclude/linux/fs.h | 176 | !Iinclude/linux/fs.h |
177 | !Einclude/linux/fs.h | ||
178 | </sect1> | 177 | </sect1> |
179 | <sect1><title>The Directory Cache</title> | 178 | <sect1><title>The Directory Cache</title> |
180 | !Efs/dcache.c | 179 | !Efs/dcache.c |
@@ -266,7 +265,7 @@ X!Ekernel/module.c | |||
266 | <chapter id="hardware"> | 265 | <chapter id="hardware"> |
267 | <title>Hardware Interfaces</title> | 266 | <title>Hardware Interfaces</title> |
268 | <sect1><title>Interrupt Handling</title> | 267 | <sect1><title>Interrupt Handling</title> |
269 | !Ikernel/irq/manage.c | 268 | !Ekernel/irq/manage.c |
270 | </sect1> | 269 | </sect1> |
271 | 270 | ||
272 | <sect1><title>Resources Management</title> | 271 | <sect1><title>Resources Management</title> |
@@ -501,7 +500,7 @@ KAO --> | |||
501 | !Edrivers/video/modedb.c | 500 | !Edrivers/video/modedb.c |
502 | </sect1> | 501 | </sect1> |
503 | <sect1><title>Frame Buffer Macintosh Video Mode Database</title> | 502 | <sect1><title>Frame Buffer Macintosh Video Mode Database</title> |
504 | !Idrivers/video/macmodes.c | 503 | !Edrivers/video/macmodes.c |
505 | </sect1> | 504 | </sect1> |
506 | <sect1><title>Frame Buffer Fonts</title> | 505 | <sect1><title>Frame Buffer Fonts</title> |
507 | <para> | 506 | <para> |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0c89fc9481a8..9a593ef262ef 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1096,6 +1096,8 @@ int sync_inode(struct inode *inode, struct writeback_control *wbc); | |||
1096 | * @get_name: find the name for a given inode in a given directory | 1096 | * @get_name: find the name for a given inode in a given directory |
1097 | * @get_parent: find the parent of a given directory | 1097 | * @get_parent: find the parent of a given directory |
1098 | * @get_dentry: find a dentry for the inode given a file handle sub-fragment | 1098 | * @get_dentry: find a dentry for the inode given a file handle sub-fragment |
1099 | * @find_exported_dentry: | ||
1100 | * set by the exporting module to a standard helper function. | ||
1099 | * | 1101 | * |
1100 | * Description: | 1102 | * Description: |
1101 | * The export_operations structure provides a means for nfsd to communicate | 1103 | * The export_operations structure provides a means for nfsd to communicate |
diff --git a/include/linux/net.h b/include/linux/net.h index 4e981585a89a..d6a41e6577f6 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -71,6 +71,7 @@ typedef enum { | |||
71 | * @SOCK_RAW: raw socket | 71 | * @SOCK_RAW: raw socket |
72 | * @SOCK_RDM: reliably-delivered message | 72 | * @SOCK_RDM: reliably-delivered message |
73 | * @SOCK_SEQPACKET: sequential packet socket | 73 | * @SOCK_SEQPACKET: sequential packet socket |
74 | * @SOCK_DCCP: Datagram Congestion Control Protocol socket | ||
74 | * @SOCK_PACKET: linux specific way of getting packets at the dev level. | 75 | * @SOCK_PACKET: linux specific way of getting packets at the dev level. |
75 | * For writing rarp and other similar things on the user level. | 76 | * For writing rarp and other similar things on the user level. |
76 | * | 77 | * |