lkml.org 
[lkml]   [2004]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.033 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site