lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/2] cciss: cleans up warnings in the 32/64 bit conversions
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.073 / U:19.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site