From: Herbert Xu Date: Mon, 27 Sep 2021 11:23:42 +0000 (+0800) Subject: crypto: api - Export crypto_boot_test_finished X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e42dff467ee688fe6b5a083f1837d06e3b27d8c0;p=linux.git crypto: api - Export crypto_boot_test_finished We need to export crypto_boot_test_finished in case api.c is built-in while algapi.c is built as a module. Fixes: adad556efcdd ("crypto: api - Fix built-in testing dependency failures") Reported-by: Stephen Rothwell Signed-off-by: Herbert Xu Tested-by: Stephen Rothwell # ppc32 build Signed-off-by: Herbert Xu --- diff --git a/crypto/api.c b/crypto/api.c index 1cf1f03347cc3..ee5991fe11f8b 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -32,6 +32,7 @@ BLOCKING_NOTIFIER_HEAD(crypto_chain); EXPORT_SYMBOL_GPL(crypto_chain); DEFINE_STATIC_KEY_FALSE(crypto_boot_test_finished); +EXPORT_SYMBOL_GPL(crypto_boot_test_finished); static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);