Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673550
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH linux-next] crypto: cvm_encrypt() can be static |
| Date | 2017-06-23 15:20 +0200 |
| Message-ID | <tVwFc-2Eg-21@gated-at.bofh.it> (permalink) |
| References | <tVwFc-2Eg-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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);
}
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RFC PATCH linux-next] crypto: cvm_encrypt() can be static kbuild test robot <fengguang.wu@intel.com> - 2017-06-23 15:20 +0200
csiph-web