* [PATCH 1/7] kmod: fix varargs kernel-doc
@ 2008-10-30 5:34 Randy Dunlap
2008-10-30 12:39 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-10-30 5:34 UTC (permalink / raw)
To: lkml; +Cc: akpm, Rusty Russell
From: Randy Dunlap <randy.dunlap@oracle.com>
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 <randy.dunlap@oracle.com>
cc: Rusty Russell <rusty@rustcorp.com.au>
---
kernel/kmod.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- lin2628-rc2.orig/kernel/kmod.c
+++ lin2628-rc2/kernel/kmod.c
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/7] kmod: fix varargs kernel-doc
2008-10-30 5:34 [PATCH 1/7] kmod: fix varargs kernel-doc Randy Dunlap
@ 2008-10-30 12:39 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2008-10-30 12:39 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, akpm
On Thursday 30 October 2008 16:34:42 Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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 <randy.dunlap@oracle.com>
> cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Thanks!
Rusty.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-30 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 5:34 [PATCH 1/7] kmod: fix varargs kernel-doc Randy Dunlap
2008-10-30 12:39 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox