lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250824231942.3910-1-mallikarjunst09@gmail.com>
Date: Sun, 24 Aug 2025 23:19:42 +0000
From: Mallikarjun Thammanavar <mallikarjunst09@...il.com>
To: nphamcs@...il.com,
	shuah@...nel.org,
	hannes@...xchg.org
Cc: linux-mm@...ck.org,
	linux-kselftest@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Mallikarjun Thammanavar <mallikarjunst09@...il.com>
Subject: [PATCH] selftests/cachestat: fix grammar and debug prints

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

Signed-off-by: Mallikarjun Thammanavar <mallikarjunst09@...il.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ