WSL2-Linux-Kernel/lib/kunit
YoungJun.park 93ef83050e kunit: alloc_string_stream_fragment error handling bug fix
When it fails to allocate fragment, it does not free and return error.
And check the pointer inappropriately.

Fixed merge conflicts with
commit 618887768b ("kunit: update NULL vs IS_ERR() tests")
Shuah Khan <skhan@linuxfoundation.org>

Signed-off-by: YoungJun.park <her0gyugyu@gmail.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-12-26 16:01:36 -07:00
..
.kunitconfig
Kconfig
Makefile
assert.c
debugfs.c
debugfs.h
executor.c
executor_test.c
kunit-example-test.c
kunit-test.c
resource.c
string-stream-test.c
string-stream.c
string-stream.h
test.c
try-catch-impl.h
try-catch.c