> + if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
> + (dir == DMA_TO_DEVICE ||
> + dir == DMA_BIDIRECTIONAL)) {Nit: the two dire checks easily fit onto a single line and are easier to follow that way. Otherwise looks good: Reviewed-by: Christoph Hellwig <[email protected]> _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
