Eric Biggers <ebiggers@xxxxxxxxxx> wrote: > @@ -171,15 +171,17 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval) > return NOTIFY_OK; > } > > +#ifdef CONFIG_CRYPTO_MANAGER_DISABLE_TESTS > +static int cryptomgr_schedule_test(struct crypto_alg *alg) > +{ > + return NOTIFY_DONE; > +} > +#else Could you please do this inline with an if statement rather than as #ifdefs? That is, static int cryptomgr_schedule_test(struct crypto_alg *alg) { struct task_struct *thread; struct crypto_test_param *param; u32 type; if (IS_ENABLED(CONFIG_CRYPTO_MANAGER_DISABLE_TESTS)) return NOTIFY_DONE; Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt