Yes, we should never do zero-length dma mappings, so this looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>