]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:32:40 +0000 (16:32 +0200)
[ Upstream commit 86c5eac3c4c4a2ee124d202af9a141bd0457ee68 ]

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>
Stable-dep-of: 7a41dcb52f9d ("iommu/amd: Set the pgsize_bitmap correctly")
Signed-off-by: Sasha Levin <sashal@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;