2022-09-18 10:27:00

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] cxl: fix repeated words in comments

Delete the redundant word 'dont'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/misc/cxl/native.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c
index 50b0c44bb8d7..6957946a6463 100644
--- a/drivers/misc/cxl/native.c
+++ b/drivers/misc/cxl/native.c
@@ -920,7 +920,7 @@ int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr)
* Ideally we should do a wmb() here to make sure the changes to the
* PE are visible to the card before we call afu_enable.
* On ppc64 though all mmios are preceded by a 'sync' instruction hence
- * we dont dont need one here.
+ * we dont need one here.
*/

result = cxl_ops->afu_reset(afu);
--
2.36.1


2022-09-19 00:52:39

by Andrew Donnellan

[permalink] [raw]
Subject: Re: [PATCH] cxl: fix repeated words in comments

On Sun, 2022-09-18 at 18:03 +0800, Jilin Yuan wrote:
> Delete the redundant word 'dont'.
>
> Signed-off-by: Jilin Yuan <[email protected]


Thanks for the catch. While you're there, perhaps fix the spelling to
"don't".

> ---
>  drivers/misc/cxl/native.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c
> index 50b0c44bb8d7..6957946a6463 100644
> --- a/drivers/misc/cxl/native.c
> +++ b/drivers/misc/cxl/native.c
> @@ -920,7 +920,7 @@ int cxl_attach_dedicated_process_psl9(struct
> cxl_context *ctx, u64 wed, u64 amr)
>          * Ideally we should do a wmb() here to make sure the changes
> to the
>          * PE are visible to the card before we call afu_enable.
>          * On ppc64 though all mmios are preceded by a 'sync'
> instruction hence
> -        * we dont dont need one here.
> +        * we dont need one here.
>          */
>  
>         result = cxl_ops->afu_reset(afu);

--
Andrew Donnellan OzLabs, ADL Canberra
[email protected] IBM Australia Limited