Re: [PATCH] m68k: fix kunmap usage in pte_alloc_one

From: Geert Uytterhoeven
Date: Thu Aug 27 2009 - 08:25:37 EST


On Thu, Aug 27, 2009 at 13:47, Heiko Carstens<heiko.carstens@xxxxxxxxxx> wrote:
> Subject: [PATCH] m68k: avoid pgprot_noncached redefinition
>
> From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
>
> Compiling m68k with defconfig gives a lot of these warnings:
>
> In file included from /home2/heicarst/linux-2.6/arch/m68k/include/asm/pgalloc.h:13,
> Â Â Â Â Â Â Â Â from arch/m68k/kernel/dma.c:15:
> arch/m68k/include/asm/motorola_pgalloc.h: In function 'pte_alloc_one':
> arch/m68k/include/asm/motorola_pgalloc.h:44: warning: passing argument 1 of 'kunmap' from incompatible pointer type
>
> kunmap wants a page not a pte.

Thanks, but Linus has just pulled the fix last night.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/