Thread (2 messages) 2 messages, 2 authors, 2026-01-25

Re: [PATCH] SUNRPC: Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG()

From: Chuck Lever <cel@kernel.org>
Date: 2026-01-25 02:46:45
Also in: linux-nfs, lkml

From: Chuck Lever <redacted>

On Sat, 24 Jan 2026 14:17:19 +0900, Ryota Sakamoto wrote:
Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG() to improve
debugging that prints the hex dump of the buffers when the assertion fails,
whereas memcmp() only returns an integer difference.
Applied to nfsd-testing, thanks!

[1/1] SUNRPC: Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG()
      commit: 63c04545fa093cd399132519a974fca2f1e9aaea

--
Chuck Lever
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help