linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
@ 2025-08-13  8:01 Colin Ian King
  2025-08-13  8:09 ` Lorenzo Stoakes
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Ian King @ 2025-08-13  8:01 UTC (permalink / raw)
  To: Andrew Morton, David Hildenbrand, Lorenzo Stoakes,
	Liam R . Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Shuah Khan, linux-mm,
	linux-kselftest
  Cc: kernel-janitors, linux-kernel

There are spelling mistakes in perror message. Fix these.

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

diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
index 5bd52a951cbd..e289bb1112db 100644
--- a/tools/testing/selftests/mm/mremap_test.c
+++ b/tools/testing/selftests/mm/mremap_test.c
@@ -846,7 +846,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
 	}
 	if (err != EFAULT) {
 		errno = err;
-		perror("mrmeap() unexpected error");
+		perror("mremap() unexpected error");
 		success = false;
 		goto out_unmap;
 	}
@@ -899,7 +899,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
 	}
 	if (err != EFAULT) {
 		errno = err;
-		perror("mrmeap() unexpected error");
+		perror("remapp() unexpected error");
 		success = false;
 		goto out_unmap;
 	}
@@ -948,7 +948,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
 	}
 	if (err != EFAULT) {
 		errno = err;
-		perror("mrmeap() unexpected error");
+		perror("remapp() unexpected error");
 		success = false;
 		goto out_unmap;
 	}
-- 
2.50.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
  2025-08-13  8:01 [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap" Colin Ian King
@ 2025-08-13  8:09 ` Lorenzo Stoakes
  2025-08-13  8:13   ` Colin King (gmail)
  0 siblings, 1 reply; 5+ messages in thread
From: Lorenzo Stoakes @ 2025-08-13  8:09 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Andrew Morton, David Hildenbrand, Liam R . Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Shuah Khan, linux-mm, linux-kselftest, kernel-janitors,
	linux-kernel

On Wed, Aug 13, 2025 at 09:01:56AM +0100, Colin Ian King wrote:
> There are spelling mistakes in perror message. Fix these.

Oops :) I am the typo master, apparently...

>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  tools/testing/selftests/mm/mremap_test.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
> index 5bd52a951cbd..e289bb1112db 100644
> --- a/tools/testing/selftests/mm/mremap_test.c
> +++ b/tools/testing/selftests/mm/mremap_test.c
> @@ -846,7 +846,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>  	}
>  	if (err != EFAULT) {
>  		errno = err;
> -		perror("mrmeap() unexpected error");
> +		perror("mremap() unexpected error");
>  		success = false;
>  		goto out_unmap;
>  	}
> @@ -899,7 +899,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>  	}
>  	if (err != EFAULT) {
>  		errno = err;
> -		perror("mrmeap() unexpected error");
> +		perror("remapp() unexpected error");

Typo in the typo fixup :P should be:

		perror("mremap() unexpected error");

>  		success = false;
>  		goto out_unmap;
>  	}
> @@ -948,7 +948,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>  	}
>  	if (err != EFAULT) {
>  		errno = err;
> -		perror("mrmeap() unexpected error");
> +		perror("remapp() unexpected error");

Equally should be:

		perror("mremap() unexpected error");

>  		success = false;
>  		goto out_unmap;
>  	}
> --
> 2.50.1
>

Cheers, Lorenzo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
@ 2025-08-13  8:13 Colin Ian King
  2025-08-13  8:19 ` Lorenzo Stoakes
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Ian King @ 2025-08-13  8:13 UTC (permalink / raw)
  To: Andrew Morton, David Hildenbrand, Lorenzo Stoakes,
	Liam R . Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Shuah Khan, linux-mm,
	linux-kselftest
  Cc: kernel-janitors, linux-kernel

There are spelling mistakes in perror message. Fix these.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
V2: fix typo fixes, I need more coffee
---
 tools/testing/selftests/mm/mremap_test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
index 5bd52a951cbd..e289bb1112db 100644
--- a/tools/testing/selftests/mm/mremap_test.c
+++ b/tools/testing/selftests/mm/mremap_test.c
@@ -846,7 +846,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
 	}
 	if (err != EFAULT) {
 		errno = err;
-		perror("mrmeap() unexpected error");
+		perror("mremap() unexpected error");
 		success = false;
 		goto out_unmap;
 	}
@@ -899,7 +899,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
 	}
 	if (err != EFAULT) {
 		errno = err;
-		perror("mrmeap() unexpected error");
+		perror("mremap() unexpected error");
 		success = false;
 		goto out_unmap;
 	}
@@ -948,7 +948,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
 	}
 	if (err != EFAULT) {
 		errno = err;
-		perror("mrmeap() unexpected error");
+		perror("mremap() unexpected error");
 		success = false;
 		goto out_unmap;
 	}
-- 
2.50.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
  2025-08-13  8:09 ` Lorenzo Stoakes
@ 2025-08-13  8:13   ` Colin King (gmail)
  0 siblings, 0 replies; 5+ messages in thread
From: Colin King (gmail) @ 2025-08-13  8:13 UTC (permalink / raw)
  To: Lorenzo Stoakes
  Cc: Andrew Morton, David Hildenbrand, Liam R . Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Shuah Khan, linux-mm, linux-kselftest, kernel-janitors,
	linux-kernel


[-- Attachment #1.1.1: Type: text/plain, Size: 1769 bytes --]


Me too by the look of it.

On 13/08/2025 09:09, Lorenzo Stoakes wrote:
> On Wed, Aug 13, 2025 at 09:01:56AM +0100, Colin Ian King wrote:
>> There are spelling mistakes in perror message. Fix these.
> 
> Oops :) I am the typo master, apparently...
> 
>>
>> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
>> ---
>>   tools/testing/selftests/mm/mremap_test.c | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
>> index 5bd52a951cbd..e289bb1112db 100644
>> --- a/tools/testing/selftests/mm/mremap_test.c
>> +++ b/tools/testing/selftests/mm/mremap_test.c
>> @@ -846,7 +846,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>>   	}
>>   	if (err != EFAULT) {
>>   		errno = err;
>> -		perror("mrmeap() unexpected error");
>> +		perror("mremap() unexpected error");
>>   		success = false;
>>   		goto out_unmap;
>>   	}
>> @@ -899,7 +899,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>>   	}
>>   	if (err != EFAULT) {
>>   		errno = err;
>> -		perror("mrmeap() unexpected error");
>> +		perror("remapp() unexpected error");
> 
> Typo in the typo fixup :P should be:
> 
> 		perror("mremap() unexpected error");
> 
>>   		success = false;
>>   		goto out_unmap;
>>   	}
>> @@ -948,7 +948,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>>   	}
>>   	if (err != EFAULT) {
>>   		errno = err;
>> -		perror("mrmeap() unexpected error");
>> +		perror("remapp() unexpected error");
> 
> Equally should be:
> 
> 		perror("mremap() unexpected error");
> 
>>   		success = false;
>>   		goto out_unmap;
>>   	}
>> --
>> 2.50.1
>>
> 
> Cheers, Lorenzo


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 4901 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
  2025-08-13  8:13 Colin Ian King
@ 2025-08-13  8:19 ` Lorenzo Stoakes
  0 siblings, 0 replies; 5+ messages in thread
From: Lorenzo Stoakes @ 2025-08-13  8:19 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Andrew Morton, David Hildenbrand, Liam R . Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Shuah Khan, linux-mm, linux-kselftest, kernel-janitors,
	linux-kernel

On Wed, Aug 13, 2025 at 09:13:33AM +0100, Colin Ian King wrote:
> There are spelling mistakes in perror message. Fix these.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks for this! LGTM, so:

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

> ---
> V2: fix typo fixes, I need more coffee

:)

> ---
>  tools/testing/selftests/mm/mremap_test.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c
> index 5bd52a951cbd..e289bb1112db 100644
> --- a/tools/testing/selftests/mm/mremap_test.c
> +++ b/tools/testing/selftests/mm/mremap_test.c
> @@ -846,7 +846,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>  	}
>  	if (err != EFAULT) {
>  		errno = err;
> -		perror("mrmeap() unexpected error");
> +		perror("mremap() unexpected error");
>  		success = false;
>  		goto out_unmap;
>  	}
> @@ -899,7 +899,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>  	}
>  	if (err != EFAULT) {
>  		errno = err;
> -		perror("mrmeap() unexpected error");
> +		perror("mremap() unexpected error");
>  		success = false;
>  		goto out_unmap;
>  	}
> @@ -948,7 +948,7 @@ static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
>  	}
>  	if (err != EFAULT) {
>  		errno = err;
> -		perror("mrmeap() unexpected error");
> +		perror("mremap() unexpected error");
>  		success = false;
>  		goto out_unmap;
>  	}
> --
> 2.50.1
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-13  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13  8:01 [PATCH][next] selftests/mm: Fix spelling mistake "mrmeap" -> "mremap" Colin Ian King
2025-08-13  8:09 ` Lorenzo Stoakes
2025-08-13  8:13   ` Colin King (gmail)
  -- strict thread matches above, loose matches on Subject: below --
2025-08-13  8:13 Colin Ian King
2025-08-13  8:19 ` Lorenzo Stoakes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).