]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: fix Kconfig for build-in tests USB4 and Nitro Enclaves
authorNico Pache <npache@redhat.com>
Wed, 10 Aug 2022 23:40:56 +0000 (19:40 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 1 Sep 2022 19:00:48 +0000 (13:00 -0600)
commit864567ef11dd35e80e5ff3000bf0d40ca1318ba4
tree85bc3a5a22b369116b950d7efe8d172ad58e01a4
parent2474d86a5ea43c46f1c7c397f0f8d29e22ce42ec
kunit: fix Kconfig for build-in tests USB4 and Nitro Enclaves

Both the USB4 and Nitro Enclaves KUNIT tests are now able to be compiled
if KUNIT is compiled as a module. This leads to issues if KUNIT is being
packaged separately from the core kernel and when KUNIT is run baremetal
without the required driver compiled into the kernel.

Fixes: 4db2cbddee49 ("thunderbolt: test: Use kunit_test_suite() macro")
Fixes: 4b0aaff623c2 ("nitro_enclaves: test: Use kunit_test_suite() macro")
Signed-off-by: Nico Pache <npache@redhat.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Andra Paraschiv <andraprs@amazon.com>
Acked-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
drivers/thunderbolt/Kconfig
drivers/virt/nitro_enclaves/Kconfig