Re: [PATCH] alpha: Add DMA_ERROR_CODE defn to avert compiler errorin drm

From: FUJITA Tomonori
Date: Fri May 06 2011 - 08:30:37 EST


On Wed, 4 May 2011 20:13:37 +1200
Michael Cree <mcree@xxxxxxxxxxxx> 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 <mcree@xxxxxxxxxxxx>
> ---
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html