kvm-ppc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kernel] vfio/spapr_tce: Fix the comment
@ 2022-07-14  8:09 Alexey Kardashevskiy
  2022-07-22 22:50 ` Alex Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Kardashevskiy @ 2022-07-14  8:09 UTC (permalink / raw)
  To: kvm; +Cc: Alexey Kardashevskiy, Alex Williamson, kvm-ppc

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>
---
 drivers/vfio/vfio_iommu_spapr_tce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/vfio_iommu_spapr_tce.c b/drivers/vfio/vfio_iommu_spapr_tce.c
index 708a95e61831..cd7b9c136889 100644
--- a/drivers/vfio/vfio_iommu_spapr_tce.c
+++ b/drivers/vfio/vfio_iommu_spapr_tce.c
@@ -1266,7 +1266,7 @@ 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;
 
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH kernel] vfio/spapr_tce: Fix the comment
  2022-07-14  8:09 [PATCH kernel] vfio/spapr_tce: Fix the comment Alexey Kardashevskiy
@ 2022-07-22 22:50 ` Alex Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2022-07-22 22:50 UTC (permalink / raw)
  To: Alexey Kardashevskiy; +Cc: kvm, kvm-ppc

On Thu, 14 Jul 2022 18:09:12 +1000
Alexey Kardashevskiy <aik@ozlabs.ru> wrote:

> 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>
> ---
>  drivers/vfio/vfio_iommu_spapr_tce.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/vfio_iommu_spapr_tce.c b/drivers/vfio/vfio_iommu_spapr_tce.c
> index 708a95e61831..cd7b9c136889 100644
> --- a/drivers/vfio/vfio_iommu_spapr_tce.c
> +++ b/drivers/vfio/vfio_iommu_spapr_tce.c
> @@ -1266,7 +1266,7 @@ 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;
>  

Applied to vfio next branch for v5.20 with a conversion to a multi-line
comment to avoid the long line.  Thanks,

Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-22 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-14  8:09 [PATCH kernel] vfio/spapr_tce: Fix the comment Alexey Kardashevskiy
2022-07-22 22:50 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).