Include <asm/aes.h> to pick up the declarations for crypto_aes_encrypt_x86 and crypto_aes_decrypt_x86 to quiet the sparse noise:
warning: symbol 'crypto_aes_encrypt_x86' was not declared. Should it be static? warning: symbol 'crypto_aes_decrypt_x86' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com> Cc: Herbert Xu <herb...@gondor.apana.org.au> "David S. Miller" <da...@davemloft.net> Thomas Gleixner <t...@linutronix.de> Ingo Molnar <mi...@redhat.com> "H. Peter Anvin" <h...@zytor.com> --- diff --git a/arch/x86/crypto/aes_glue.c b/arch/x86/crypto/aes_glue.c index bdce3ee..8efcf42 100644 --- a/arch/x86/crypto/aes_glue.c +++ b/arch/x86/crypto/aes_glue.c @@ -5,6 +5,7 @@ #include <linux/module.h> #include <crypto/aes.h> +#include <asm/aes.h> asmlinkage void aes_enc_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); asmlinkage void aes_dec_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html