Re: [2.6.38-rc8, patch] minor ANSI prototype sparse fix

From: Rusty Russell
Date: Thu Mar 10 2011 - 22:38:08 EST


On Tue, 8 Mar 2011 22:01:47 +0800, Daniel J Blueman <daniel.blueman@xxxxxxxxx> wrote:
> Fix function prototype to be ANSI-C compliant, consistent with other
> function prototypes, addressing a sparse warning.
>
> Signed-off-by: Daniel J Blueman <daniel.blueman@xxxxxxxxx>

Thanks, applied.

FYI: your patch was line-wrapped, fixed manually:

> diff --git a/kernel/module.c b/kernel/module.c
> index efa290e..be35185 100644
> --- a/kernel/module.c
> +++ b/kernel/module.c
> @@ -1627,7 +1627,7 @@ void unset_section_ro_nx(struct module *mod,
> void *module_region)
> }
>

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