2022-08-11 14:28:21

by Jason Wang

[permalink] [raw]
Subject: [PATCH] parisc: ccio-dma.c: Fix comment typo

The double `was' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/parisc/ccio-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
index 9be007c9420f..e863eb648379 100644
--- a/drivers/parisc/ccio-dma.c
+++ b/drivers/parisc/ccio-dma.c
@@ -268,7 +268,7 @@ static int ioc_count;
* Each bit can represent a number of pages.
* LSbs represent lower addresses (IOVA's).
*
-* This was was copied from sba_iommu.c. Don't try to unify
+* This was copied from sba_iommu.c. Don't try to unify
* the two resource managers unless a way to have different
* allocation policies is also adjusted. We'd like to avoid
* I/O TLB thrashing by having resource allocation policy
--
2.36.1


2022-08-19 20:17:06

by Helge Deller

[permalink] [raw]
Subject: Re: [PATCH] parisc: ccio-dma.c: Fix comment typo

On 8/11/22 15:59, Jason Wang wrote:
> The double `was' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

applied.
Thanks!
Helge

> ---
> drivers/parisc/ccio-dma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
> index 9be007c9420f..e863eb648379 100644
> --- a/drivers/parisc/ccio-dma.c
> +++ b/drivers/parisc/ccio-dma.c
> @@ -268,7 +268,7 @@ static int ioc_count;
> * Each bit can represent a number of pages.
> * LSbs represent lower addresses (IOVA's).
> *
> -* This was was copied from sba_iommu.c. Don't try to unify
> +* This was copied from sba_iommu.c. Don't try to unify
> * the two resource managers unless a way to have different
> * allocation policies is also adjusted. We'd like to avoid
> * I/O TLB thrashing by having resource allocation policy