]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/ring-buffer: Verify the entire meta-page padding
authorVincent Donnefort <vdonnefort@google.com>
Tue, 10 Sep 2024 16:23:34 +0000 (17:23 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 11 Sep 2024 16:25:02 +0000 (12:25 -0400)
commit21ff365b5c88c0bf8447989aadb5d8fe401c9cfc
tree334c622efcbd1b842bebab5ca7281eeff191e00e
parent2fcd5aff92aab479a9a89cfce2dbc9c6a9455b4f
selftests/ring-buffer: Verify the entire meta-page padding

Improve the ring-buffer meta-page test coverage by checking for the
entire padding region to be 0 instead of just looking at the first 4
bytes.

Cc: linux-kselftest@vger.kernel.org
Link: https://lore.kernel.org/20240910162335.2993310-2-vdonnefort@google.com
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ring-buffer/map_test.c