diff mbox series

userfaultfd/selftests: Fix typo in comment

Message ID 20220610071244.59679-1-wangxiang@cdjrlc.com
State Accepted
Commit c5de43634c572b0cec0b32eecf24a17c649711c1
Headers show
Series userfaultfd/selftests: Fix typo in comment | expand

Commit Message

Xiang wangx June 10, 2022, 7:12 a.m. UTC
Delete the redundant word 'in'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 tools/testing/selftests/vm/userfaultfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shuah Khan June 14, 2022, 5:30 p.m. UTC | #1
On 6/10/22 1:12 AM, Xiang wangx wrote:
> Delete the redundant word 'in'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>   tools/testing/selftests/vm/userfaultfd.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
> index 0bdfc1955229..4bc24581760d 100644
> --- a/tools/testing/selftests/vm/userfaultfd.c
> +++ b/tools/testing/selftests/vm/userfaultfd.c
> @@ -860,7 +860,7 @@ static int stress(struct uffd_stats *uffd_stats)
>   	/*
>   	 * Be strict and immediately zap area_src, the whole area has
>   	 * been transferred already by the background treads. The
> -	 * area_src could then be faulted in in a racy way by still
> +	 * area_src could then be faulted in a racy way by still
>   	 * running uffdio_threads reading zeropages after we zapped
>   	 * area_src (but they're guaranteed to get -EEXIST from
>   	 * UFFDIO_COPY without writing zero pages into area_dst
> 

Thank you. Applied to next Linux 5.20-rc1

thanks,
-- Shuah
diff mbox series

Patch

diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
index 0bdfc1955229..4bc24581760d 100644
--- a/tools/testing/selftests/vm/userfaultfd.c
+++ b/tools/testing/selftests/vm/userfaultfd.c
@@ -860,7 +860,7 @@  static int stress(struct uffd_stats *uffd_stats)
 	/*
 	 * Be strict and immediately zap area_src, the whole area has
 	 * been transferred already by the background treads. The
-	 * area_src could then be faulted in in a racy way by still
+	 * area_src could then be faulted in a racy way by still
 	 * running uffdio_threads reading zeropages after we zapped
 	 * area_src (but they're guaranteed to get -EEXIST from
 	 * UFFDIO_COPY without writing zero pages into area_dst