Skip to content

Commit 7de7d35

Browse files
Chen Niwilldeacon
authored andcommitted
iommu/arm-smmu-v3: Convert comma to semicolon
Replace comma between expressions with semicolons. Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it is seems best to use ';' unless ',' is intended. Found by inspection. No functional change intended. Compile tested only. Fixes: e3b1be2 ("iommu/arm-smmu-v3: Reorganize struct arm_smmu_ctx_desc_cfg") Signed-off-by: Chen Ni <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent f63237f commit 7de7d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ static int arm_smmu_alloc_cd_tables(struct arm_smmu_master *master)
14201420
cd_table->s1fmt = STRTAB_STE_0_S1FMT_LINEAR;
14211421
cd_table->linear.num_ents = max_contexts;
14221422

1423-
l1size = max_contexts * sizeof(struct arm_smmu_cd),
1423+
l1size = max_contexts * sizeof(struct arm_smmu_cd);
14241424
cd_table->linear.table = dma_alloc_coherent(smmu->dev, l1size,
14251425
&cd_table->cdtab_dma,
14261426
GFP_KERNEL);

0 commit comments

Comments
 (0)