kmod: fix varargs kernel-doc
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'
Signed-off-by Randy Dunlap <[email protected]>
cc Rusty Russell <[email protected]>
--- 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
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'Signed-off-by Randy Dunlap <[email protected]>cc Rusty Russell <[email protected]>
Acked-by Rusty Russell <[email protected]>
Thanks!
Rusty.