]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
iommu/amd: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 16 Jul 2024 07:25:45 +0000 (15:25 +0800)
committerWill Deacon <will@kernel.org>
Tue, 23 Jul 2024 16:10:07 +0000 (17:10 +0100)
Replace a comma between expression statements by a semicolon.

Fixes: c9b258c6be09 ("iommu/amd: Prepare for generic IO page table framework")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20240716072545.968690-1-nichen@iscas.ac.cn
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/amd/io_pgtable.c

index 9d9a7fde59e75dcbdbff9fecd5cda23fc9c3faf7..1074ee25064d06024b2f7857522bbc791abed8ba 100644 (file)
@@ -588,9 +588,9 @@ static struct io_pgtable *v1_alloc_pgtable(struct io_pgtable_cfg *cfg, void *coo
 {
        struct amd_io_pgtable *pgtable = io_pgtable_cfg_to_data(cfg);
 
-       cfg->pgsize_bitmap  = AMD_IOMMU_PGSIZES,
-       cfg->ias            = IOMMU_IN_ADDR_BIT_SIZE,
-       cfg->oas            = IOMMU_OUT_ADDR_BIT_SIZE,
+       cfg->pgsize_bitmap  = AMD_IOMMU_PGSIZES;
+       cfg->ias            = IOMMU_IN_ADDR_BIT_SIZE;
+       cfg->oas            = IOMMU_OUT_ADDR_BIT_SIZE;
        cfg->tlb            = &v1_flush_ops;
 
        pgtable->iop.ops.map_pages    = iommu_v1_map_pages;