mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Brian Gerst <bgerst@didntduck.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix warning in prefetch_range
Date: Mon, 26 Apr 2004 08:30:38 -0400	[thread overview]
Message-ID: <408D00EE.5020703@quark.didntduck.org> (raw)
In-Reply-To: <20040425220837.315726d1.akpm@osdl.org>

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

      reply	other threads:[~2004-04-26 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-24 23:51 Brian Gerst
2004-04-26  5:08 ` Andrew Morton
2004-04-26 12:30   ` Brian Gerst [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=408D00EE.5020703@quark.didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®