Re: [PATCH] compile time warnings

From: Ingo Molnar
Date: Fri Jan 02 2009 - 08:02:02 EST



* Ingo Brueckl <ib@xxxxxxxxxxxxxxx> wrote:

> Ingo Molnar <mingo@xxxxxxx> writes:
>
> > Would you mind to send a patch for that that we could push to Linus?
>
> Do you mean something like:
>
> fix compiler warning in arch/x86/mm/init_32.c

yes, with a small nit:
>
> +static inline void permanent_kmaps_init(pgd_t *pgd_base)
> +{
> + (void) pgd_base;

there's no need for this line - this is not a macro, so the function
parameter does not have to be 'used'.

Ingo
--
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/