[PATCH 1/7] kmod: fix varargs kernel-doc - Kernel

This is a discussion on [PATCH 1/7] kmod: fix varargs kernel-doc - Kernel ; From: Randy Dunlap 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 cc: Rusty Russell --- kernel/kmod.c | 4 ++-- 1 file changed, 2 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH 1/7] kmod: fix varargs kernel-doc

  1. [PATCH 1/7] kmod: fix varargs kernel-doc

    From: Randy Dunlap

    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
    cc: Rusty Russell
    ---
    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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH 1/7] kmod: fix varargs kernel-doc

    On Thursday 30 October 2008 16:34:42 Randy Dunlap wrote:
    > From: Randy Dunlap
    >
    > 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
    > cc: Rusty Russell


    Acked-by: Rusty Russell

    Thanks!
    Rusty.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread