Re: [PATCH 1/2] swiotlb: Make DIRECT_MAPPING_ERROR viable

From: Christoph Hellwig
Date: Tue Nov 20 2018 - 11:07:46 EST


The subject line should say dma-direct. This isn't really swiotlb
specific.

> +#define DIRECT_MAPPING_ERROR ~(dma_addr_t)0

Please add braces around the value like the other *MAPPING_ERROR
defintions so that it can be safely used in any context.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>