]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: fix kunit_test_init_section_suites(...)
authorBrendan Higgins <brendan.higgins@linux.dev>
Tue, 31 Jan 2023 02:35:03 +0000 (10:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:08 +0000 (11:28 +0100)
commitdd9fc066fa21b6e6be54197f229e25f2d0987de5
treed8c138ed8cc831796f4ea493f9773f61e792eebf
parent7b2be477c3631a4ba98274c41b89c0faa2d3a410
kunit: fix kunit_test_init_section_suites(...)

[ Upstream commit fe3de76e256cd9367c8b033f7d42f6d8c3ae69ed ]

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: 8fedb9450523 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/kunit/test.h