Re: [Intel-gfx] [PATCH i-g-t v2 08/11] lib/kunit: Provide all results cleanup helper

2023-10-09 Thread Kamil Konieczny
Hi Janusz, On 2023-10-09 at 14:27:59 +0200, Janusz Krzysztofik wrote: > Planned changes require a couple of loops around kunit_result_free(). > Since we already have such loop, move it into a helper in preparation for > future uses. > > Signed-off-by: Janusz Krzysztofik Reviewed-by: Kamil

[Intel-gfx] [PATCH i-g-t v2 08/11] lib/kunit: Provide all results cleanup helper

2023-10-09 Thread Janusz Krzysztofik
Planned changes require a couple of loops around kunit_result_free(). Since we already have such loop, move it into a helper in preparation for future uses. Signed-off-by: Janusz Krzysztofik --- lib/igt_kmod.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff