Re: [patch 1/2] cciss: cleans up warnings in the 32/64 bit conversions

From: mikem
Date: Fri Oct 22 2004 - 13:36:43 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/