From: Nico Pache <[email protected]>

filtermod: fix clk kunit test and kunit location

Since switching to filtermod. It looks like we are incorrectly putting
kunit and clk_kunit_helpers in the wrong package.

This fixes the following warning
************************** REPORT******************
kunit.ko: wanted by ['modules-internal'] but ended up in ['modules-core']
has conflicting parent: clk_kunit_helpers.ko(modules-core)

Signed-off-by: Nico Pache <[email protected]>

diff --git a/redhat/fedora_files/def_variants.yaml.fedora 
b/redhat/fedora_files/def_variants.yaml.fedora
index blahblah..blahblah 100644
--- a/redhat/fedora_files/def_variants.yaml.fedora
+++ b/redhat/fedora_files/def_variants.yaml.fedora
@@ -42,7 +42,7 @@ rules:
   - drivers/cdx/.*: modules-core
   - drivers/char/mwave.*: modules
   - drivers/char/.*: modules-core
-  - drivers/clk/.*test.*: modules-internal
+  - drivers/clk/.*(test|kunit).*: modules-internal
   - drivers/clk/.*: modules-core
   - drivers/counter/.*: modules-core
   - drivers/cpufreq/.*: modules-core
diff --git a/redhat/rhel_files/def_variants.yaml.rhel 
b/redhat/rhel_files/def_variants.yaml.rhel
index blahblah..blahblah 100644
--- a/redhat/rhel_files/def_variants.yaml.rhel
+++ b/redhat/rhel_files/def_variants.yaml.rhel
@@ -47,7 +47,7 @@ rules:
   - drivers/cdx/.*: modules-core
   - drivers/char/mwave.*: modules
   - drivers/char/.*: modules-core
-  - drivers/clk/.*test.*: modules-internal
+  - drivers/clk/.*(test|kunit).*: modules-internal
   - drivers/clk/.*: modules-core
   - drivers/counter/.*: modules-core
   - drivers/cpufreq/amd-pstate-ut.ko: modules-internal

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3477

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to