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 <vasant.hegde@amd.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/11-v2-831cdc4d00f3+1a315-amd_iopgtbl_jgg@nvidia.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 485534b commit a06dcb6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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)