On Tue, Aug 2, 2022 at 2:27 PM Maíra Canal mairacanal@riseup.net wrote:
Use KUNIT_EXPECT_MEMEQ to compare memory blocks in replacement of the KUNIT_EXPECT_EQ macro. Therefor, the statement
KUNIT_EXPECT_EQ(test, memcmp(foo, bar, size), 0);
is replaced by:
KUNIT_EXPECT_MEMEQ(test, foo, bar, size);
Signed-off-by: Maíra Canal mairacanal@riseup.net
Acked-by: Daniel Latypov dlatypov@google.com
I didn't go and find the appropriate commit from the drm tree to base this on, so I couldn't apply it locally. But looking at the diff itself, looks good!