commit | 93ef83050e597634d2c7dc838a28caf5137b9404 | [log] [tgz] |
---|---|---|
author | YoungJun.park <her0gyugyu@gmail.com> | Fri Oct 28 07:42:41 2022 -0700 |
committer | Shuah Khan <skhan@linuxfoundation.org> | Mon Dec 26 16:01:36 2022 -0700 |
tree | 7984fc7622b05de2dbec6af321d83c51f11525e5 | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 [diff] |
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 618887768bb7 ("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>