From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933565Ab1IIUrn (ORCPT ); Fri, 9 Sep 2011 16:47:43 -0400 Received: from mail160.messagelabs.com ([216.82.253.99]:11033 "EHLO mail160.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759970Ab1IIUrk (ORCPT ); Fri, 9 Sep 2011 16:47:40 -0400 X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-4.tower-160.messagelabs.com!1315598554!34066405!227 X-Originating-IP: [216.166.12.98] X-StarScan-Version: 6.3.6; banners=-,-,- X-VirusChecked: Checked From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] aes_glue.c: quiet sparse noise about symbol not declared Date: Fri, 9 Sep 2011 13:47:02 -0700 User-Agent: KMail/1.9.9 CC: , , , , , , MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201109091347.03199.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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);