[PATCH][next] tools/testing/selftests: Fix spelling mistake "unnmap" -> "unmap"

Colin Ian King posted 1 patch 2 months, 2 weeks ago
tools/testing/selftests/mm/mremap_test.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH][next] tools/testing/selftests: Fix spelling mistake "unnmap" -> "unmap"
Posted by Colin Ian King 2 months, 2 weeks ago
There is a spelling mistake in ksft_test_result_fail messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/testing/selftests/mm/mremap_test.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
index fccf9e797a0c..774cdba102fc 100644
--- a/tools/testing/selftests/mm/mremap_test.c
+++ b/tools/testing/selftests/mm/mremap_test.c
@@ -525,10 +525,10 @@ static void mremap_move_multiple_vmas(unsigned int pattern_seed,
 out:
 	if (success)
 		ksft_test_result_pass("%s%s\n", test_name,
-				      dont_unmap ? " [dontunnmap]" : "");
+				      dont_unmap ? " [dontunmap]" : "");
 	else
 		ksft_test_result_fail("%s%s\n", test_name,
-				      dont_unmap ? " [dontunnmap]" : "");
+				      dont_unmap ? " [dontunmap]" : "");
 }
 
 static void mremap_shrink_multiple_vmas(unsigned long page_size,
@@ -727,10 +727,10 @@ static void mremap_move_multiple_vmas_split(unsigned int pattern_seed,
 out:
 	if (success)
 		ksft_test_result_pass("%s%s\n", test_name,
-				      dont_unmap ? " [dontunnmap]" : "");
+				      dont_unmap ? " [dontunmap]" : "");
 	else
 		ksft_test_result_fail("%s%s\n", test_name,
-				      dont_unmap ? " [dontunnmap]" : "");
+				      dont_unmap ? " [dontunmap]" : "");
 }
 
 /* Returns the time taken for the remap on success else returns -1. */
-- 
2.50.0
Re: [PATCH][next] tools/testing/selftests: Fix spelling mistake "unnmap" -> "unmap"
Posted by Vishal Moola (Oracle) 2 months, 2 weeks ago
On Wed, Jul 23, 2025 at 10:50:27AM +0100, Colin Ian King wrote:
> There is a spelling mistake in ksft_test_result_fail messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---

Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Re: [PATCH][next] tools/testing/selftests: Fix spelling mistake "unnmap" -> "unmap"
Posted by Lorenzo Stoakes 2 months, 2 weeks ago
On Wed, Jul 23, 2025 at 10:50:27AM +0100, Colin Ian King wrote:
> There is a spelling mistake in ksft_test_result_fail messages. Fix them.

Oops :) Thanks!

This is new in this cycle so I think Andrew may just squash this into the
relevant patch.

>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>

> ---
>  tools/testing/selftests/mm/mremap_test.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
> index fccf9e797a0c..774cdba102fc 100644
> --- a/tools/testing/selftests/mm/mremap_test.c
> +++ b/tools/testing/selftests/mm/mremap_test.c
> @@ -525,10 +525,10 @@ static void mremap_move_multiple_vmas(unsigned int pattern_seed,
>  out:
>  	if (success)
>  		ksft_test_result_pass("%s%s\n", test_name,
> -				      dont_unmap ? " [dontunnmap]" : "");
> +				      dont_unmap ? " [dontunmap]" : "");
>  	else
>  		ksft_test_result_fail("%s%s\n", test_name,
> -				      dont_unmap ? " [dontunnmap]" : "");
> +				      dont_unmap ? " [dontunmap]" : "");
>  }
>
>  static void mremap_shrink_multiple_vmas(unsigned long page_size,
> @@ -727,10 +727,10 @@ static void mremap_move_multiple_vmas_split(unsigned int pattern_seed,
>  out:
>  	if (success)
>  		ksft_test_result_pass("%s%s\n", test_name,
> -				      dont_unmap ? " [dontunnmap]" : "");
> +				      dont_unmap ? " [dontunmap]" : "");
>  	else
>  		ksft_test_result_fail("%s%s\n", test_name,
> -				      dont_unmap ? " [dontunnmap]" : "");
> +				      dont_unmap ? " [dontunmap]" : "");
>  }
>
>  /* Returns the time taken for the remap on success else returns -1. */
> --
> 2.50.0
>
Re: [PATCH][next] tools/testing/selftests: Fix spelling mistake "unnmap" -> "unmap"
Posted by Dev Jain 2 months, 2 weeks ago
On 23/07/25 3:20 pm, Colin Ian King wrote:
> There is a spelling mistake in ksft_test_result_fail messages. Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>   


Reviewed-by: Dev Jain <dev.jain@arm.com>
Re: [PATCH][next] tools/testing/selftests: Fix spelling mistake "unnmap" -> "unmap"
Posted by David Hildenbrand 2 months, 2 weeks ago
On 23.07.25 11:50, Colin Ian King wrote:
> There is a spelling mistake in ksft_test_result_fail messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---

Acked-by: David Hildenbrand <david@redhat.com>

-- 
Cheers,

David / dhildenb