aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-09-22 13:54:20 +0200
committerTakashi Iwai <tiwai@suse.de>2022-09-22 13:54:20 +0200
commitaf45a0d32df9c8f5abbbc7401d70ffa296c8cef6 (patch)
treef162ece8fa7d94374d15801d614849db649282ac /kernel/module
parentALSA: hda/ca0132 - remove the unneeded result variable (diff)
parentALSA: hda: intel-dsp-config: add missing RaptorLake PCI IDs (diff)
downloadlinux-dev-af45a0d32df9c8f5abbbc7401d70ffa296c8cef6.tar.xz
linux-dev-af45a0d32df9c8f5abbbc7401d70ffa296c8cef6.zip
Merge branch 'for-linus' into for-next
Diffstat (limited to 'kernel/module')
-rw-r--r--kernel/module/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module/main.c b/kernel/module/main.c
index 6a477c622544..a4e4d84b6f4e 100644
--- a/kernel/module/main.c
+++ b/kernel/module/main.c
@@ -2099,7 +2099,7 @@ static int find_module_sections(struct module *mod, struct load_info *info)
sizeof(*mod->static_call_sites),
&mod->num_static_call_sites);
#endif
-#ifdef CONFIG_KUNIT
+#if IS_ENABLED(CONFIG_KUNIT)
mod->kunit_suites = section_objs(info, ".kunit_test_suites",
sizeof(*mod->kunit_suites),
&mod->num_kunit_suites);