Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267235AbUJVSb7 (ORCPT ); Fri, 22 Oct 2004 14:31:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267515AbUJVSbq (ORCPT ); Fri, 22 Oct 2004 14:31:46 -0400 Received: from zmamail03.zma.compaq.com ([161.114.64.103]:33299 "EHLO zmamail03.zma.compaq.com") by vger.kernel.org with ESMTP id S267235AbUJVSbX (ORCPT ); Fri, 22 Oct 2004 14:31:23 -0400 Date: Fri, 22 Oct 2004 13:30:57 -0500 From: mikem To: "Maciej W. Rozycki" 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 Message-ID: <20041022183057.GA23032@beardog.cca.cpqcorp.net> References: <20041021211718.GA10462@beardog.cca.cpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 22 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/