Re: [PATCH v1 3/3] lib/842: add KUnit tests for the decompressor
From: Karl Mehltretter
Date: Tue Sep 15 2026 - 14:35:22 EST
On Tue, Sep 15, 2026 at 02:57:55PM +0100, Geert Uytterhoeven wrote:
> > +config 842_DECOMPRESS_KUNIT_TEST
> > + tristate "KUnit tests for the 842 decompressor" if !KUNIT_ALL_TESTS
> > + depends on KUNIT
> > + select 842_DECOMPRESS
>
> Enabling a (modular) test should not silently enable additional kernel
> functionality, as that may increase the attack vector for a product.
>
Hi Geert,
Wow, good catch, thank you! I'll prepare a follow-up to fix it.
I also found a few other KUnit tests using the same select pattern,
so I'll look into fixing those as well.
Karl