diff mbox series

cxl: fix repeated words in comments

Message ID 20220918100312.26836-1-yuanjilin@cdjrlc.com (mailing list archive)
State Changes Requested
Headers show
Series cxl: fix repeated words in comments | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 6 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 23 jobs.

Commit Message

Jilin Yuan Sept. 18, 2022, 10:03 a.m. UTC
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(-)

Comments

Andrew Donnellan Sept. 19, 2022, 12:05 a.m. UTC | #1
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);
diff mbox series

Patch

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);