diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-01-07 11:14:14 +0200 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-01-19 10:13:29 -0700 |
| commit | b703b31ea8cd22c1915cfdd6d8e39bf39ec64c8b (patch) | |
| tree | 1376ee0d97fdd0f756349cbad011d84e778893af /include/linux/dma-buf-mapping.h | |
| parent | fcf463b92a08686d1aeb1e66674a72eb7a8bfb9b (diff) | |
types: reuse common phys_vec type instead of DMABUF open‑coded variant
After commit fcf463b92a08 ("types: move phys_vec definition to common header"),
we can use the shared phys_vec type instead of the DMABUF‑specific
dma_buf_phys_vec, which duplicated the same structure and semantics.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20260107-convert-to-pvec-v1-1-6e3ab8079708@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux/dma-buf-mapping.h')
| -rw-r--r-- | include/linux/dma-buf-mapping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dma-buf-mapping.h b/include/linux/dma-buf-mapping.h index a3c0ce2d3a42..09bde3f748e4 100644 --- a/include/linux/dma-buf-mapping.h +++ b/include/linux/dma-buf-mapping.h @@ -9,7 +9,7 @@ struct sg_table *dma_buf_phys_vec_to_sgt(struct dma_buf_attachment *attach, struct p2pdma_provider *provider, - struct dma_buf_phys_vec *phys_vec, + struct phys_vec *phys_vec, size_t nr_ranges, size_t size, enum dma_data_direction dir); void dma_buf_free_sgt(struct dma_buf_attachment *attach, struct sg_table *sgt, |
