selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
Subsystems (4)
PATCH 1/1 selftests/mm: Fix spelling mistake "mrmeap" -> "mremap"
There are spelling mistakes in perror message. Fix these.
--- tools/testing/selftests/mm/mremap_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/mm/mremap_test.c +3 -3
@@ -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; }
Signature · 1 line
2.50.1
Quoted 1 line · Colin Ian King
There are spelling mistakes in perror message. Fix these.
Oops :) I am the typo master, apparently...
Quoted 20 lines
Signed-off-by Colin Ian King <[email protected]>--- tools/testing/selftests/mm/mremap_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)tools/testing/selftests/mm/mremap_test.c +1
-1@@ -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; }
tools/testing/selftests/mm/mremap_test.c static void mremap_move_multi_invalid_vmas(FILE *maps_fp, · line 902
Quoted 5 lines
tools/testing/selftests/mm/mremap_test.c +1
-1@@ -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");tools/testing/selftests/mm/mremap_test.c static void mremap_move_multi_invalid_vmas(FILE *maps_fp, · line 951
Quoted 9 lines
tools/testing/selftests/mm/mremap_test.c +1
-1success = 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");Quoted 6 lines
tools/testing/selftests/mm/mremap_test.c +0
-1success = false; goto out_unmap; } --2.50.1
Cheers, Lorenzo
Me too by the look of it.
Quoted 57 lines · Lorenzo Stoakes
Quoted 1 line · Colin Ian King
There are spelling mistakes in perror message. Fix these.
Oops :) I am the typo master, apparently...
Quoted 20 lines
Signed-off-by Colin Ian King <[email protected]>--- tools/testing/selftests/mm/mremap_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)tools/testing/selftests/mm/mremap_test.c +1
-1@@ -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; }tools/testing/selftests/mm/mremap_test.c static void mremap_move_multi_invalid_vmas(FILE *maps_fp, · line 902
Quoted 5 lines
tools/testing/selftests/mm/mremap_test.c +1
-1@@ -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");tools/testing/selftests/mm/mremap_test.c static void mremap_move_multi_invalid_vmas(FILE *maps_fp, · line 951
Quoted 9 lines
tools/testing/selftests/mm/mremap_test.c +1
-1success = 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");Quoted 6 lines
tools/testing/selftests/mm/mremap_test.c +0
-1success = false; goto out_unmap; } --2.50.1
Cheers, Lorenzo