Skip to content

Commit

Permalink
fixup! iommu/dma: dma_map takes opaque pointer, dma_unmap takes mappi…
Browse files Browse the repository at this point in the history
…ng as argument
  • Loading branch information
Baekalfen committed May 8, 2024
1 parent 6fbfcdb commit 22794f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iommu/iommufd.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ static int iommu_ioas_do_dma_unmap(struct iommu_ctx *ctx, struct iova_mapping *m

static int iommu_ioas_do_dma_unmap_all(struct iommu_ctx *ctx)
{
struct iommu_mapping m = {
struct iova_mapping m = {
.iova = 0,
.len = UINT64_MAX
}
};
return iommu_ioas_do_dma_unmap(ctx, &m);
}

Expand Down

0 comments on commit 22794f5

Please sign in to comment.