From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] alpha: Add DMA_ERROR_CODE defn to avert compiler error in drm Date: Fri, 6 May 2011 09:49:25 -0400 Message-ID: <20110506134925.GB5500@dumpdata.com> References: <1304496817-7646-1-git-send-email-mcree@orcon.net.nz> <20110506212708I.fujita.tomonori@lab.ntt.co.jp> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20110506212708I.fujita.tomonori@lab.ntt.co.jp> Sender: linux-alpha-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: FUJITA Tomonori Cc: mcree@orcon.net.nz, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, mattst88@gmail.com, rth@twiddle.net, ink@jurassic.park.msu.ru On Fri, May 06, 2011 at 09:30:03PM +0900, FUJITA Tomonori wrote: > On Wed, 4 May 2011 20:13:37 +1200 > Michael Cree wrote: > > > The radeon drm code now relies on DMA_ERROR_CODE. This defines > > it in alpha dma-mapping header to at least enable me to compile > > radeon drm/kms into kernel. > > > > Signed-off-by: Michael Cree > > --- > > arch/alpha/include/asm/dma-mapping.h | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > This isn't correct. The drivers should not use DMA_ERROR_CODE directly > (some architecture specific drivers use it though). Fix rademon > drm/kms instead. What would be a proper value for non-existent bus addresses? As in the value had not been set? 0?