[PATCH] cxl: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 6 months ago
drivers/misc/cxl/native.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cxl: fix repeated words in comments
Posted by Jilin Yuan 3 years, 6 months ago
Delete the redundant word 'dont'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 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
Re: [PATCH] cxl: fix repeated words in comments
Posted by Andrew Donnellan 3 years, 6 months ago
On Sun, 2022-09-18 at 18:03 +0800, Jilin Yuan wrote:
> Delete the redundant word 'dont'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com


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
ajd@linux.ibm.com   IBM Australia Limited