]> git.ipfire.org Git - thirdparty/linux.git/commit
SUNRPC: Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG()
authorRyota Sakamoto <sakamo.ryota@gmail.com>
Sat, 24 Jan 2026 05:17:19 +0000 (14:17 +0900)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commited7f4d323b5c86cfe9ca6eb3a955416aaa335a9c
treef4d92aebbb625e409e443ab9741ccccc1dd41224
parenta0ed7975de5e47091ab16aaece75d1b64c5709e7
SUNRPC: Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG()

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.

Signed-off-by: Ryota Sakamoto <sakamo.ryota@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/auth_gss/gss_krb5_test.c