From: Benny Halevy <bhalevy@panasas.com>
To: Ming Lei <tom.leiming@gmail.com>
Cc: "Jan Engelhardt" <jengelh@computergmbh.de>,
"\"J.A. Magallón\"" <jamagallon@ono.com>,
"Linux-Kernel," <linux-kernel@vger.kernel.org>
Subject: Re: void* arithmnetic
Date: Thu, 29 Nov 2007 09:38:46 +0200 [thread overview]
Message-ID: <474E6C86.8090209@panasas.com> (raw)
In-Reply-To: <d82e647a0711281719s74035e98pc228ce0da4f3b00d@mail.gmail.com>
On Nov. 29, 2007, 3:19 +0200, "Ming Lei" <tom.leiming@gmail.com> wrote:
> 2007/11/29, Jan Engelhardt <jengelh@computergmbh.de>:
>> On Nov 29 2007 01:05, J.A. Magallón wrote:
>>> Since begin of the ages the build of the nvidia driver says things like
>>> this:
>>>
>> Explicitly adding -Wpointer-arith to ones own Makefile is like
>> admitting the code might be problematic. :->
>>
>>
>> I think sizeof(void *) == 1 is taken as granted as sizeof(int) >= 4
>> these days. Sigh.
> sizeof(void *) == 4, sizeof(void)==1, :)
well, sizeof(void *) == sizeof(unsigned long) maybe :)
>> -
>> 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/
>>
> -
> 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/
>
next prev parent reply other threads:[~2007-11-29 7:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 0:05 void* arithmnetic J.A. Magallón
2007-11-29 0:22 ` Arnaldo Carvalho de Melo
2007-11-29 0:39 ` Jan Engelhardt
2007-11-29 1:19 ` Ming Lei
2007-11-29 7:38 ` Benny Halevy [this message]
2007-11-29 12:31 ` WANG Cong
2007-11-30 11:38 ` Geert Uytterhoeven
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=474E6C86.8090209@panasas.com \
--to=bhalevy@panasas.com \
--cc=jamagallon@ono.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tom.leiming@gmail.com \
/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