diff mbox

[cryptodev] crypto: echainiv_read_iv() can be static

Message ID 20150522074410.GA102425@lkp-sb04 (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Fengguang Wu May 23, 2015, 3:22 a.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 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

Comments

Herbert Xu May 25, 2015, 12:58 p.m. UTC | #1
On Sat, May 23, 2015 at 11:22:47AM +0800, Fengguang Wu wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Patch applied.
diff mbox

Patch

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;