Messages in this thread | | | From | Daniel Latypov <> | Date | Tue, 2 Aug 2022 15:29:33 -0700 | Subject | Re: [PATCH v2 3/3] kunit: Use KUNIT_EXPECT_MEMEQ macro |
| |
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!
| |