projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
485534b
)
iommu/amd: Fix typo of , instead of ;
author
Jason Gunthorpe
<jgg@nvidia.com>
Fri, 30 Aug 2024 00:06:20 +0000
(21:06 -0300)
committer
Joerg Roedel
<jroedel@suse.de>
Wed, 4 Sep 2024 09:39:02 +0000
(11:39 +0200)
Generates the same code, but is not the expected C style.
Fixes:
aaac38f61487
("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>
drivers/iommu/amd/io_pgtable_v2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd/io_pgtable_v2.c
b/drivers/iommu/amd/io_pgtable_v2.c
index ed2c1faae6d580539a9ca0ff978f83e4402c505b..910fe1879f3e41a3938ebbb5cf55649cc0aa350a 100644
(file)
--- a/
drivers/iommu/amd/io_pgtable_v2.c
+++ b/
drivers/iommu/amd/io_pgtable_v2.c
@@
-375,9
+375,9
@@
static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *coo
pgtable->pgtbl.ops.unmap_pages = iommu_v2_unmap_pages;
pgtable->pgtbl.ops.iova_to_phys = iommu_v2_iova_to_phys;
- cfg->pgsize_bitmap = AMD_IOMMU_PGSIZES_V2
,
- cfg->ias = ias
,
- cfg->oas = IOMMU_OUT_ADDR_BIT_SIZE
,
+ cfg->pgsize_bitmap = AMD_IOMMU_PGSIZES_V2
;
+ cfg->ias = ias
;
+ cfg->oas = IOMMU_OUT_ADDR_BIT_SIZE
;
cfg->tlb = &v2_flush_ops;
return &pgtable->pgtbl;