mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mallikarjun Thammanavar <mallikarjunst09@gmail.com>
To: nphamcs@gmail.com, shuah@kernel.org, hannes@cmpxchg.org
Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Mallikarjun Thammanavar <mallikarjunst09@gmail.com>
Subject: [PATCH] selftests/cachestat: fix grammar and debug prints
Date: Sun, 24 Aug 2025 23:19:42 +0000	[thread overview]
Message-ID: <20250824231942.3910-1-mallikarjunst09@gmail.com> (raw)

Fix minor grammar in ksft_print_msg() output for better readability.

Signed-off-by: Mallikarjun Thammanavar <mallikarjunst09@gmail.com>
---
 tools/testing/selftests/cachestat/test_cachestat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/cachestat/test_cachestat.c b/tools/testing/selftests/cachestat/test_cachestat.c
index 632ab44737ec..1417d7fb7910 100644
--- a/tools/testing/selftests/cachestat/test_cachestat.c
+++ b/tools/testing/selftests/cachestat/test_cachestat.c
@@ -76,7 +76,7 @@ bool write_exactly(int fd, size_t filesize)
 		ssize_t write_len = write(fd, cursor, remained);
 
 		if (write_len <= 0) {
-			ksft_print_msg("Unable write random data to file.\n");
+			ksft_print_msg("Unable to write random data to file.\n");
 			ret = false;
 			goto out_free_data;
 		}
@@ -183,7 +183,7 @@ static int test_cachestat(const char *filename, bool write_random, bool create,
 				if (cs.nr_dirty) {
 					ret = KSFT_FAIL;
 					ksft_print_msg(
-						"Number of dirty should be zero after fsync.\n");
+						"Number of dirty pages should be zero after fsync.\n");
 				}
 			} else {
 				ksft_print_msg("Cachestat (after fsync) returned non-zero.\n");
-- 
2.43.0


                 reply	other threads:[~2025-08-24 23:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250824231942.3910-1-mallikarjunst09@gmail.com \
    --to=mallikarjunst09@gmail.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nphamcs@gmail.com \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®