From patchwork Sat May 23 03:22:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 6470051 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BF1969F1CC for ; Sat, 23 May 2015 03:23:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A173C205DE for ; Sat, 23 May 2015 03:23:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 475D2205DB for ; Sat, 23 May 2015 03:22:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756569AbbEWDWw (ORCPT ); Fri, 22 May 2015 23:22:52 -0400 Received: from mga11.intel.com ([192.55.52.93]:16000 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756159AbbEWDWv (ORCPT ); Fri, 22 May 2015 23:22:51 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 22 May 2015 20:22:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,480,1427785200"; d="scan'208";a="730547266" Received: from unknown (HELO wfg-t540p.sh.intel.com) ([10.254.210.14]) by fmsmga002.fm.intel.com with ESMTP; 22 May 2015 20:22:49 -0700 Received: from wfg by wfg-t540p.sh.intel.com with local (Exim 4.84) (envelope-from ) id 1Yw01P-0001eT-Si; Sat, 23 May 2015 11:22:47 +0800 Date: Sat, 23 May 2015 11:22:47 +0800 From: Fengguang Wu To: Herbert Xu Cc: kbuild-all@01.org, linux-crypto@vger.kernel.org Subject: [PATCH cryptodev] crypto: echainiv_read_iv() can be static Message-ID: <20150522074410.GA102425@lkp-sb04> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- echainiv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/crypto/echainiv.c b/crypto/echainiv.c index e5a9878..d0e325d0 100644 --- a/crypto/echainiv.c +++ b/crypto/echainiv.c @@ -67,7 +67,7 @@ static int echainiv_setauthsize(struct crypto_aead *tfm, } /* We don't care if we get preempted and read/write IVs from the next CPU. */ -void echainiv_read_iv(u8 *dst, unsigned size) +static void echainiv_read_iv(u8 *dst, unsigned size) { u32 *a = (u32 *)dst; u32 __percpu *b = echainiv_iv; @@ -78,7 +78,7 @@ void echainiv_read_iv(u8 *dst, unsigned size) } } -void echainiv_write_iv(const u8 *src, unsigned size) +static void echainiv_write_iv(const u8 *src, unsigned size) { const u32 *a = (const u32 *)src; u32 __percpu *b = echainiv_iv;