From: mikem <mikem@beardog.cca.cpqcorp.net>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: marcelo.tosatti@cyclades.com, axboe@suse.de,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [patch 1/2] cciss: cleans up warnings in the 32/64 bit conversions
Date: Fri, 22 Oct 2004 13:30:57 -0500 [thread overview]
Message-ID: <20041022183057.GA23032@beardog.cca.cpqcorp.net> (raw)
In-Reply-To: <Pine.LNX.4.58L.0410220054010.15504@blysk.ds.pg.gda.pl>
On Fri, Oct 22, 2004 at 01:00:45AM +0100, Maciej W. Rozycki wrote:
> > - err |= get_user(arg64.buf, &arg32->buf);
> > + err |= get_user((__u64) arg64.buf, &arg32->buf);
> > if (err) return -EFAULT;
> > old_fs = get_fs();
> > set_fs(KERNEL_DS);
>
> These constructs (casts as lvalues) are deprecated with GCC 3.4 (a
> warning is triggered) and no longer supported with 4.0. Please consider
> rewriting -- you'll probably need an auxiliary variable.
>
> Maciej
Maciej,
Is this documented somewhere?
mikem
next prev parent reply other threads:[~2004-10-22 18:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-21 21:17 [patch 1/2] cciss: cleans up warnings in the 32/64 bit conversions mike.miller
2004-10-22 0:00 ` Maciej W. Rozycki
2004-10-22 18:30 ` mikem [this message]
2004-10-22 20:59 ` Maciej W. Rozycki
2004-10-28 10:43 ` Marcelo Tosatti
2004-10-24 15:54 ` James Bottomley
2004-10-26 19:45 ` mikem
2004-10-26 19:57 ` James Bottomley
2004-10-26 21:44 ` mikem
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=20041022183057.GA23032@beardog.cca.cpqcorp.net \
--to=mikem@beardog.cca.cpqcorp.net \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=macro@linux-mips.org \
--cc=marcelo.tosatti@cyclades.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