Re: [PATCH] Fix warning in prefetch_range

From: Andrew Morton
Date: Mon Apr 26 2004 - 00:10:47 EST


Brian Gerst <bgerst@xxxxxxxxxxxxx> wrote:
>
> Fix this warning:
> include/linux/prefetch.h: In function `prefetch_range':
> include/linux/prefetch.h:62: warning: pointer of type `void *' used in
> arithmetic
>

eh? That's a gcc extension which has worked silently since forever.

What compiler version is generating the warning?
-
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/