Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755209AbYCaCNV (ORCPT ); Sun, 30 Mar 2008 22:13:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751358AbYCaCNM (ORCPT ); Sun, 30 Mar 2008 22:13:12 -0400 Received: from de01egw01.freescale.net ([192.88.165.102]:55123 "EHLO de01egw01.freescale.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753735AbYCaCNL convert rfc822-to-8bit (ORCPT ); Sun, 30 Mar 2008 22:13:11 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: [PATCH] fix the broken annotations in fsldma Date: Mon, 31 Mar 2008 10:12:58 +0800 Message-ID: <78567AC4946EDC42B7DE978C350CD869EEBC96@zch01exm26.fsl.freescale.net> In-Reply-To: <20080329183828.GD9785@ZenIV.linux.org.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] fix the broken annotations in fsldma Thread-Index: AciRzBpSegV/6BM+SXSwmJv1zT6LvQBCDhpg References: <1206799322.12155.10.camel@vader.jdub.homelinux.org> <20080329183828.GD9785@ZenIV.linux.org.uk> From: "Zhang Wei" To: "Al Viro" , "Josh Boyer" Cc: "Al Viro" , , Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 946 Lines: 30 Hi, > -----Original Message----- > From: Al Viro [mailto:viro@ftp.linux.org.uk] On Behalf Of Al Viro > > On Sat, Mar 29, 2008 at 09:02:02AM -0500, Josh Boyer wrote: > > On Sat, 2008-03-29 at 03:10 +0000, Al Viro wrote: > > > a) every bitwise declaration will give a unique type; use > typedefs. > > > b) no need to bother with the stuff pointed to by iomem > pointers, unless > > > it's accessed directly. noderef will force us to use > helpers anyway. > > > Did you forget to do the s/u{32,64}/v{32,64}/ conversion for this > > struct, or am I just a moron? > > See (b) above. > Do you mean if we do it with a known 'force' casting, we do not need the compiler check's help? Thanks! Wei. -- 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/