]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
selftests/damon/huge_count_read_write: remove unnecessary debugging message
authorSeongJae Park <sj@kernel.org>
Mon, 28 Oct 2024 23:30:54 +0000 (16:30 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:30 +0000 (21:29 -0700)
The program prints expected errors from write/read of the files with
invalid huge count, for only debugging purpose.  It is only making the
output noisy.  Remove those.

Link: https://lkml.kernel.org/r/20241028233058.283381-3-sj@kernel.org
Fixes: b4a002889d24 ("selftests/damon: test debugfs file reads/writes with huge count")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Andrew Paniakin <apanyaki@amazon.com>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/huge_count_read_write.c

index f3c199dc8eba2c5c83b50eae305c2d802a4ecdba..53e69a669668a8e24a62319efeb747055622e406 100644 (file)
@@ -28,9 +28,7 @@ void write_read_with_huge_count(char *file)
        }
 
        write(filedesc, "", 0xfffffffful);
-       perror("after write: ");
        ret = read(filedesc, buf, 0xfffffffful);
-       perror("after read: ");
        close(filedesc);
 }