From: H Hartley Sweeten Subject: [PATCH] aes_glue.c: quiet sparse noise about symbol not declared Date: Fri, 9 Sep 2011 13:47:02 -0700 Message-ID: <201109091347.03199.hartleys@visionengravers.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , , , , , To: Linux Kernel Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org Include 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 Cc: Herbert Xu "David S. Miller" Thomas Gleixner Ingo Molnar "H. Peter Anvin" --- 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 #include +#include 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);