* [PATCH][next] selftests: Fix spelling mistake "trucate" -> "truncate"
@ 2023-05-05 11:08 Colin Ian King
2023-05-05 19:01 ` Nhat Pham
0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2023-05-05 11:08 UTC (permalink / raw)
To: Nhat Pham, Johannes Weiner, Shuah Khan, linux-mm, linux-kselftest
Cc: kernel-janitors, linux-kernel
There is a spelling mistake in a message. Fix it.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
tools/testing/selftests/cachestat/test_cachestat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/cachestat/test_cachestat.c b/tools/testing/selftests/cachestat/test_cachestat.c
index c3823b809c25..9be2262e5c17 100644
--- a/tools/testing/selftests/cachestat/test_cachestat.c
+++ b/tools/testing/selftests/cachestat/test_cachestat.c
@@ -191,7 +191,7 @@ bool test_cachestat_shmem(void)
}
if (ftruncate(fd, filesize)) {
- ksft_print_msg("Unable to trucate shmem file.\n");
+ ksft_print_msg("Unable to truncate shmem file.\n");
ret = false;
goto close_fd;
}
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][next] selftests: Fix spelling mistake "trucate" -> "truncate"
2023-05-05 11:08 [PATCH][next] selftests: Fix spelling mistake "trucate" -> "truncate" Colin Ian King
@ 2023-05-05 19:01 ` Nhat Pham
0 siblings, 0 replies; 2+ messages in thread
From: Nhat Pham @ 2023-05-05 19:01 UTC (permalink / raw)
To: Colin Ian King
Cc: Johannes Weiner, Shuah Khan, linux-mm, linux-kselftest,
kernel-janitors, linux-kernel, Andrew Morton
On Fri, May 5, 2023 at 4:08 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
> tools/testing/selftests/cachestat/test_cachestat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/cachestat/test_cachestat.c b/tools/testing/selftests/cachestat/test_cachestat.c
> index c3823b809c25..9be2262e5c17 100644
> --- a/tools/testing/selftests/cachestat/test_cachestat.c
> +++ b/tools/testing/selftests/cachestat/test_cachestat.c
> @@ -191,7 +191,7 @@ bool test_cachestat_shmem(void)
> }
>
> if (ftruncate(fd, filesize)) {
> - ksft_print_msg("Unable to trucate shmem file.\n");
> + ksft_print_msg("Unable to truncate shmem file.\n");
> ret = false;
> goto close_fd;
> }
> --
> 2.30.2
>
Acked-by: Nhat Pham <nphamcs@gmail.com>
Thanks, Colin! I'm forwarding this to Andrew.
Andrew, could you fold this misspelling fix into the patch
as well? I think it's this commit in mm-unstable:
f2277ac105b4 selftests: add selftests for cachestat
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-05 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05 11:08 [PATCH][next] selftests: Fix spelling mistake "trucate" -> "truncate" Colin Ian King
2023-05-05 19:01 ` Nhat Pham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox