Re: [PATCH v2 2/2] lib/prime_numbers: convert self-test to KUnit
From: Tamir Duberstein
Date: Sat Feb 08 2025 - 09:08:11 EST
On Sat, Feb 8, 2025 at 8:58 AM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> [...]
>
> diff --git a/lib/math/prime_numbers.c b/lib/math/prime_numbers.c
> index 9a17ee9af93a..540d9b7b178f 100644
> --- a/lib/math/prime_numbers.c
> +++ b/lib/math/prime_numbers.c
> @@ -64,7 +58,13 @@ static const struct primes __rcu *primes = RCU_INITIALIZER(&small_primes);
>
> static unsigned long selftest_max;
Shoot, this snuck into v2. Please pretend this isn't here, I'll remove
it after your review in v3.
> [...]
>
> module_param_named(selftest, selftest_max, ulong, 0400);
>
> [...]
Same here.