Re: [PATCH] compile time warnings

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



* Ingo Brueckl <ib@xxxxxxxxxxxxxxx> wrote:

> Ingo Molnar <mingo@xxxxxxx> writes:
>
> > 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'.
>
> I live and learn.
>
> fix compiler warning in arch/x86/mm/init_32.c

applied to tip/x86/cleanups, thanks! Find below the final form of the
commit.

Ingo

---------------->