Skip to contentSkip to conversation

kmod: fix varargs kernel-doc

PATCH Applied Randy Dunlap 2 participants 2 messages Oct 30, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 kmod: fix varargs kernel-doc

From: Randy Dunlap <[email protected]>

Fix varargs kernel-doc format in kmod.c:
Use @... instead of @varargs.

Warning(kernel/kmod.c:67): Excess function parameter or struct member 'varargs' description in 'request_module'

---
 kernel/kmod.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/kmod.c +2 -2
@@ -51,8 +51,8 @@ char modprobe_path[KMOD_PATH_LEN] = "/sb
 
 /**
  * request_module - try to load a kernel module
- * @fmt:     printf style format string for the name of the module
- * @varargs: arguements as specified in the format string
+ * @fmt: printf style format string for the name of the module
+ * @...: arguments as specified in the format string
  *
  * Load a module using the user mode module loader. The function returns
  * zero on success or a negative errno code on failure. Note that a
Acked-by on v1 1/7
#1 lore raw
Quoted 10 lines · On Thursday 30 October 2008 16:34:42 Randy Dunlap wrote:

From: Randy Dunlap <[email protected]>

Fix varargs kernel-doc format in kmod.c:
Use @... instead of @varargs.

Warning(kernel/kmod.c:67): Excess function parameter or struct member 'varargs' description in 'request_module'

Thanks!
Rusty.