vfio/spapr_tce: Fix the comment
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 14 Jul 2022 08:09:12 +0000 (18:09 +1000)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 22 Jul 2022 22:24:47 +0000 (16:24 -0600)
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>
drivers/vfio/vfio_iommu_spapr_tce.c

index ea3d17a..169f07a 100644 (file)
@@ -1265,7 +1265,10 @@ static int tce_iommu_attach_group(void *iommu_data,
                goto unlock_exit;
        }
 
-       /* Check if new group has the same iommu_ops (i.e. compatible) */
+       /*
+        * Check if new group has the same iommu_table_group_ops
+        * (i.e. compatible)
+        */
        list_for_each_entry(tcegrp, &container->group_list, next) {
                struct iommu_table_group *table_group_tmp;