RE: [PATCH v8 06/11] dma-buf: provide phys_vec to scatter-gather mapping routine

Tian, Kevin
2025-11-19T05:55:03Z

> From: Leon Romanovsky <leon@kernel.org>
> Sent: Tuesday, November 11, 2025 5:58 PM
> +
> + if (dma->state && dma_use_iova(dma->state)) {
> + WARN_ON_ONCE(mapped_len != size);

then "goto err_unmap_dma".

Reviewed-by: Kevin Tian <kevin.tian@intel.com>