From: Andrew Morton <akpm@osdl.org>
To: "Pawe__ Sikora" <pluto@pld-linux.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [prefetch.h] warning: pointer of type `void *' used in arithmetic'
Date: Sat, 3 Jul 2004 17:18:11 -0700 [thread overview]
Message-ID: <20040703171811.1f10c5df.akpm@osdl.org> (raw)
In-Reply-To: <200407031832.34780.pluto@pld-linux.org>
Pawe__ Sikora <pluto@pld-linux.org> wrote:
>
> warning killed.
> --- /var/tmp/linux/include/linux/prefetch.h.orig 2004-06-16 07:20:25.000000000 +0200
> +++ /var/tmp/linux/include/linux/prefetch.h 2004-07-03 18:28:10.478861720 +0200
> @@ -59,7 +59,7 @@
> {
> #ifdef ARCH_HAS_PREFETCH
> char *cp;
> - char *end = addr + len;
> + char *end = (char *)addr + len;
What version of the compiler is generating this warning?
next prev parent reply other threads:[~2004-07-04 0:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-03 16:32 Paweł Sikora
2004-07-04 0:18 ` Andrew Morton [this message]
2004-07-04 6:49 ` Vojtech Pavlik
2004-07-04 6:51 ` Andrew Morton
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=20040703171811.1f10c5df.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pluto@pld-linux.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®