[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170623131055.GA78777@lkp-sbx04>
Date: Fri, 23 Jun 2017 21:10:55 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: George Cherian <george.cherian@...ium.com>
Cc: kbuild-all@...org, Herbert Xu <herbert@...dor.apana.org.au>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [RFC PATCH linux-next] crypto: cvm_encrypt() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
cptvf_algs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/cavium/cpt/cptvf_algs.c b/drivers/crypto/cavium/cpt/cptvf_algs.c
index 443c362..4303674 100644
--- a/drivers/crypto/cavium/cpt/cptvf_algs.c
+++ b/drivers/crypto/cavium/cpt/cptvf_algs.c
@@ -222,12 +222,12 @@ static inline int cvm_enc_dec(struct ablkcipher_request *req, u32 enc)
return -EINPROGRESS;
}
-int cvm_encrypt(struct ablkcipher_request *req)
+static int cvm_encrypt(struct ablkcipher_request *req)
{
return cvm_enc_dec(req, true);
}
-int cvm_decrypt(struct ablkcipher_request *req)
+static int cvm_decrypt(struct ablkcipher_request *req)
{
return cvm_enc_dec(req, false);
}
Powered by blists - more mailing lists