Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759548AbYCSTts (ORCPT ); Wed, 19 Mar 2008 15:49:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753015AbYCSTdD (ORCPT ); Wed, 19 Mar 2008 15:33:03 -0400 Received: from az33egw02.freescale.net ([192.88.158.103]:59782 "EHLO az33egw02.freescale.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755820AbYCSTdA (ORCPT ); Wed, 19 Mar 2008 15:33:00 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Subject: RE: [PATCH] Fix fsldma.c warning messages when it's compiled underPPC64. Date: Wed, 19 Mar 2008 09:52:57 +0800 Message-ID: In-Reply-To: <47E00898.2090009@freescale.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] Fix fsldma.c warning messages when it's compiled underPPC64. Thread-Index: AciJJSN4nb7NDdKuTuaNMUt6b6P09gAPrLug References: <1205146045-17342-1-git-send-email-wei.zhang@freescale.com> <20080311142247.GA18915@lixom.net> <47E00898.2090009@freescale.com> From: "Zhang Wei" To: "Wood Scott" Cc: "Dan Williams" , "Olof Johansson" , , Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by alpha id m2JKk4nq007452 Content-Length: 587 Lines: 18 > -----Original Message----- > From: Wood Scott > > >>> The reason is the val will be assigned to SR register, and > >> SR register > >>> is a 32-bit only register. > >> If this is the case then why not disable the driver for PPC_64? > > May I point out that SR is a status register, and not an address, and > thus it should never have been dma_addr_t to begin with? > Never, thus u32 is good for SR. Cheers! Wei. ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?