From cc618d179e87fa13b67c98e93cf92569d995dd20 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 2 Jan 2020 18:08:45 -0800 Subject: Static symbols exported by ICP The crypto_cipher_init_prov and crypto_cipher_init are declared static and should not be exported by the ICP. This resolves the following warnings observed when building with the 5.4 kernel. WARNING: "crypto_cipher_init" [.../icp] is a static EXPORT_SYMBOL WARNING: "crypto_cipher_init_prov" [.../icp] is a static EXPORT_SYMBOL Reviewed-by: Tony Hutter Signed-off-by: Brian Behlendorf Closes #9791 --- module/icp/api/kcf_cipher.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'module') diff --git a/module/icp/api/kcf_cipher.c b/module/icp/api/kcf_cipher.c index 1c9f6873e..d66c1aafb 100644 --- a/module/icp/api/kcf_cipher.c +++ b/module/icp/api/kcf_cipher.c @@ -916,8 +916,6 @@ crypto_decrypt_single(crypto_context_t context, crypto_data_t *ciphertext, } #if defined(_KERNEL) -EXPORT_SYMBOL(crypto_cipher_init_prov); -EXPORT_SYMBOL(crypto_cipher_init); EXPORT_SYMBOL(crypto_encrypt_prov); EXPORT_SYMBOL(crypto_encrypt); EXPORT_SYMBOL(crypto_encrypt_init_prov); -- cgit v1.2.3