Browse Source

crypto: aes-x86 - quiet sparse noise about symbol not declared

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 <hsweeten@visionengravers.com>
Acked-by: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
H Hartley Sweeten 14 năm trước cách đây
mục cha
commit
4a4cc2b6bf
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/x86/crypto/aes_glue.c

+ 1 - 0
arch/x86/crypto/aes_glue.c

@@ -4,6 +4,7 @@
  */
  */
 
 
 #include <crypto/aes.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_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);
 asmlinkage void aes_dec_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in);