Messages in this thread | | | Date | Mon, 26 Apr 2004 08:30:38 -0400 | From | Brian Gerst <> | Subject | Re: [PATCH] Fix warning in prefetch_range |
| |
Andrew Morton wrote: > Brian Gerst <bgerst@didntduck.org> 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? >
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
I saw the warning when compiling the nvidia driver, which uses -Wpointer-arith. I'll drop that switch instead.
-- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |