OSDN Git Service

kunit: fix kunit_test_init_section_suites(...)
authorBrendan Higgins <brendan.higgins@linux.dev>
Tue, 31 Jan 2023 02:35:03 +0000 (10:35 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 31 Jan 2023 16:10:38 +0000 (09:10 -0700)
commit254c71374a70051a043676b67ba4f7ad392b5fe6
tree779ff20f1e2d4b00fe47627c9836ee5e3fb7e065
parentdd2f0a0a2f751b7aafaea5cbba8e65a55fd12f94
kunit: fix kunit_test_init_section_suites(...)

Looks like kunit_test_init_section_suites(...) was messed up in a merge
conflict. This fixes it.

kunit_test_init_section_suites(...) was not updated to avoid the extra
level of indirection when .kunit_test_suites was flattened. Given no-one
was actively using it, this went unnoticed for a long period of time.

Fixes: e5857d396f35 ("kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suites")
Signed-off-by: Brendan Higgins <brendan.higgins@linux.dev>
Signed-off-by: David Gow <davidgow@google.com>
Tested-by: Martin Fernandez <martin.fernandez@eclypsium.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
include/kunit/test.h