Skip to content

Commit 9cb633a

Browse files
aikawilliam
authored andcommitted
vfio/spapr_tce: Fix the comment
Grepping for "iommu_ops" finds this spot and gives wrong impression that iommu_ops is used in here, fix the comment. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Link: https://lore.kernel.org/r/20220714080912.3713509-1-aik@ozlabs.ru [aw: convert to multi-line comment] Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1 parent 8cfc5b6 commit 9cb633a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/vfio/vfio_iommu_spapr_tce.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,10 @@ static int tce_iommu_attach_group(void *iommu_data,
12651265
goto unlock_exit;
12661266
}
12671267

1268-
/* Check if new group has the same iommu_ops (i.e. compatible) */
1268+
/*
1269+
* Check if new group has the same iommu_table_group_ops
1270+
* (i.e. compatible)
1271+
*/
12691272
list_for_each_entry(tcegrp, &container->group_list, next) {
12701273
struct iommu_table_group *table_group_tmp;
12711274

0 commit comments

Comments
 (0)