summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-08-04 01:21:01 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-07 12:51:39 +0300
commit8418cf54df0c22332e0cd855b9e1e7aac3fab20e (patch)
tree596fe0e7b87bd997d9ccdd16c123d5aa8fde67f5 /drivers/crypto
parent6122bbbdc65630d202e5494d5b9678676f2883f8 (diff)
downloadlinux-8418cf54df0c22332e0cd855b9e1e7aac3fab20e.tar.xz
crypto: hisilicon - sec_send_request() can be static
Fixes: 915e4e8413da ("crypto: hisilicon - SEC security accelerator driver") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/hisilicon/sec/sec_algs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/sec/sec_algs.c b/drivers/crypto/hisilicon/sec/sec_algs.c
index d69d3ce358b0..f7d6d690116e 100644
--- a/drivers/crypto/hisilicon/sec/sec_algs.c
+++ b/drivers/crypto/hisilicon/sec/sec_algs.c
@@ -393,7 +393,7 @@ static void sec_alg_free_el(struct sec_request_el *el,
}
/* queuelock must be held */
-int sec_send_request(struct sec_request *sec_req, struct sec_queue *queue)
+static int sec_send_request(struct sec_request *sec_req, struct sec_queue *queue)
{
struct sec_request_el *el, *temp;
int ret = 0;