diff mbox

[RFC] crypto: ccree: cc_update_ctr() can be static

Message ID 20180628114237.GA119685@athens (mailing list archive)
State Superseded
Delegated to: Herbert Xu
Headers show

Commit Message

Fengguang Wu June 28, 2018, 11:42 a.m. UTC
Fixes: 27646566a1a0 ("crypto: ccree: fix iv handling")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 cc_cipher.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c
index 3af44a5..958ced3 100644
--- a/drivers/crypto/ccree/cc_cipher.c
+++ b/drivers/crypto/ccree/cc_cipher.c
@@ -596,7 +596,7 @@  static void cc_setup_cipher_data(struct crypto_tfm *tfm,
 /*
  * Update a CTR-AES 128 bit counter
  */
-void cc_update_ctr(u8 *ctr, unsigned int increment)
+static void cc_update_ctr(u8 *ctr, unsigned int increment)
 {
 	if (IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) ||
 	    IS_ALIGNED((unsigned long)ctr, 8)) {