mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
dd2f0a0a2f
In KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ, add check if one of the
inputs is NULL and fail if this is the case.
Currently, the kernel crashes if one of the inputs is NULL. Instead,
fail the test and add an appropriate error message.
Fixes:
|
||
---|---|---|
.. | ||
.kunitconfig | ||
assert.c | ||
debugfs.c | ||
debugfs.h | ||
executor_test.c | ||
executor.c | ||
Kconfig | ||
kunit-example-test.c | ||
kunit-test.c | ||
Makefile | ||
resource.c | ||
string-stream-test.c | ||
string-stream.c | ||
string-stream.h | ||
test.c | ||
try-catch-impl.h | ||
try-catch.c |