Re: [PATCH v3 2/2] lib/crypto: tests: Add KUnit tests for ML-DSA verification
From: Eric Biggers
Date: Wed Dec 03 2025 - 12:44:57 EST
On Wed, Dec 03, 2025 at 09:01:15AM +0000, David Howells wrote:
> I'm seeing:
>
> ERROR: modpost: module mldsa_kunit uses symbol mldsa_use_hint from namespace EXPORTED_FOR_KUNIT_TESTING, but does not import it.
>
Yep, sorry for the trouble. mldsa_kunit.c needs:
MODULE_IMPORT_NS("EXPORTED_FOR_KUNIT_TESTING");
Would be nice if the kunit_test_suite() macro did that so that test
authors don't have to remember to add the namespace import separately.
But maybe there's a reason why they need to be separate.
- Eric