From: Arjan van de Ven <arjanv@redhat.com>
To: Pavel Machek <pavel@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Internal compiler error in 2.4.5 (hacky workaround)
Date: Tue, 12 Feb 2002 09:47:55 +0000 [thread overview]
Message-ID: <3C68E4CB.BE64EBA6@redhat.com> (raw)
In-Reply-To: <20020211201505.GA9922@elf.ucw.cz>
Pavel Machek wrote:
>
> Hi!
>
> This makes gcc survive... adding volatile everywhere ;-).
>
> int blk_ioctl(volatile kdev_t dev, volatile unsigned int cmd, volatile
> unsigned long arg)
> {
> volatile request_queue_t *q;
> volatile struct gendisk *g;
> volatile u64 ullval = 0;
> volatile int intval, *iptr;
> volatile unsigned short usval;
For 2.4 I can see such a workaround being accepted; however for 2.5 I
would say
to keep the code clean of such things and rather get the compiler fixed
(or the
specific version depricated).
prev parent reply other threads:[~2002-02-12 9:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-11 20:15 Pavel Machek
2002-02-12 9:47 ` Arjan van de Ven [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=3C68E4CB.BE64EBA6@redhat.com \
--to=arjanv@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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®