2020-11-07 09:22:06

by 王擎

[permalink] [raw]
Subject: [PATCH] tool: selftests: fix spelling typo of 'writting'

writting -> writing

Signed-off-by: Wang Qing <[email protected]>
---
tools/testing/selftests/vm/userfaultfd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
index 9b0912a..9132fae7
--- a/tools/testing/selftests/vm/userfaultfd.c
+++ b/tools/testing/selftests/vm/userfaultfd.c
@@ -894,7 +894,7 @@ static int faulting_process(int signal_test)
count_verify[nr]);
}
/*
- * Trigger write protection if there is by writting
+ * Trigger write protection if there is by writing
* the same value back.
*/
*area_count(area_dst, nr) = count;
@@ -922,7 +922,7 @@ static int faulting_process(int signal_test)
count_verify[nr]); exit(1);
}
/*
- * Trigger write protection if there is by writting
+ * Trigger write protection if there is by writing
* the same value back.
*/
*area_count(area_dst, nr) = count;
--
2.7.4


2020-11-07 10:46:52

by Mike Rapoport

[permalink] [raw]
Subject: Re: [PATCH] tool: selftests: fix spelling typo of 'writting'

On Sat, Nov 07, 2020 at 05:19:35PM +0800, Wang Qing wrote:
> writting -> writing
>
> Signed-off-by: Wang Qing <[email protected]>

Reviewed-by: Mike Rapoport <[email protected]>

> ---
> tools/testing/selftests/vm/userfaultfd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
> index 9b0912a..9132fae7
> --- a/tools/testing/selftests/vm/userfaultfd.c
> +++ b/tools/testing/selftests/vm/userfaultfd.c
> @@ -894,7 +894,7 @@ static int faulting_process(int signal_test)
> count_verify[nr]);
> }
> /*
> - * Trigger write protection if there is by writting
> + * Trigger write protection if there is by writing
> * the same value back.
> */
> *area_count(area_dst, nr) = count;
> @@ -922,7 +922,7 @@ static int faulting_process(int signal_test)
> count_verify[nr]); exit(1);
> }
> /*
> - * Trigger write protection if there is by writting
> + * Trigger write protection if there is by writing
> * the same value back.
> */
> *area_count(area_dst, nr) = count;
> --
> 2.7.4
>

--
Sincerely yours,
Mike.