Skip to content

Commit a06dcb6

Browse files
jgunthorpejoergroedel
authored andcommitted
iommu/amd: Fix typo of , instead of ;
Generates the same code, but is not the expected C style. Fixes: aaac38f ("iommu/amd: Initial support for AMD IOMMU v2 page table") Reviewed-by: Vasant Hegde <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 485534b commit a06dcb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/iommu/amd/io_pgtable_v2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,9 @@ static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *coo
375375
pgtable->pgtbl.ops.unmap_pages = iommu_v2_unmap_pages;
376376
pgtable->pgtbl.ops.iova_to_phys = iommu_v2_iova_to_phys;
377377

378-
cfg->pgsize_bitmap = AMD_IOMMU_PGSIZES_V2,
379-
cfg->ias = ias,
380-
cfg->oas = IOMMU_OUT_ADDR_BIT_SIZE,
378+
cfg->pgsize_bitmap = AMD_IOMMU_PGSIZES_V2;
379+
cfg->ias = ias;
380+
cfg->oas = IOMMU_OUT_ADDR_BIT_SIZE;
381381
cfg->tlb = &v2_flush_ops;
382382

383383
return &pgtable->pgtbl;

0 commit comments

Comments
 (0)