linux-stable/kernel/module
David Gow 41a55567b9 module: kunit: Load .kunit_test_suites section when CONFIG_KUNIT=m
The new KUnit module handling has KUnit test suites listed in a
.kunit_test_suites section of each module. This should be loaded when
the module is, but at the moment this only happens if KUnit is built-in.

Also load this when KUnit is enabled as a module: it'll not be usable
unless KUnit is loaded, but such modules are likely to depend on KUnit
anyway, so it's unlikely to ever be loaded needlessly.

Fixes: 3d6e446238 ("kunit: unify module and builtin suite definitions")
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-08-15 13:51:07 -06:00
..
Kconfig module: Move module's Kconfig items in kernel/module/ 2022-07-12 12:07:25 -07:00
Makefile
debug_kmemleak.c
decompress.c module: Replace kmap() with kmap_local_page() 2022-07-20 14:27:46 -07:00
internal.h module: Modify module_flags() to accept show_state argument 2022-07-14 17:40:23 -07:00
kallsyms.c module: Increase readability of module_kallsyms_lookup_name() 2022-07-11 10:49:14 -07:00
kdb.c
livepatch.c
main.c module: kunit: Load .kunit_test_suites section when CONFIG_KUNIT=m 2022-08-15 13:51:07 -06:00
procfs.c module: Modify module_flags() to accept show_state argument 2022-07-14 17:40:23 -07:00
signing.c
strict_rwx.c
sysfs.c
tracking.c
tree_lookup.c
version.c