Re: [PATCH] Use valid_dma_direction() in include/asm-i386/dma-mapping.h

From: Muli Ben-Yehuda
Date: Wed Aug 02 2006 - 14:54:25 EST


On Wed, Aug 02, 2006 at 05:22:35PM +0200, Rolf Eike Beer wrote:

> Now that the generic DMA code has a function to decide if a given DMA
> mapping is valid use it. This will catch cases where direction is not any
> of the defined enum values but some random number outside the valid range.
> The current implementation will only catch the defined but invalid case
> DMA_NONE.
>
> Signed-off-by: Rolf Eike Beer

Acked-by: Muli Ben-Yehuda <muli@xxxxxxxxxx>

... but see my comments to your other patch this one depends on.

Cheers,
Muli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/