]> Git Repo - linux.git/commit
kunit: update NULL vs IS_ERR() tests
authorDan Carpenter <[email protected]>
Fri, 14 Oct 2022 09:37:25 +0000 (12:37 +0300)
committerShuah Khan <[email protected]>
Tue, 18 Oct 2022 21:08:42 +0000 (15:08 -0600)
commit618887768bb71f0a475334fa5a4fba7dc98d7ab5
treefcf7314223150ba06640e17526e1321cab3f7525
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
kunit: update NULL vs IS_ERR() tests

The alloc_string_stream() functions were changed from returning NULL on
error to returning error pointers so these caller needs to be updated
as well.

Fixes: 78b1c6584fce ("kunit: string-stream: Simplify resource use")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Daniel Latypov <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
lib/kunit/string-stream.c
lib/kunit/test.c
This page took 0.050188 seconds and 4 git commands to generate.