[RFC PATCH] crypto: dpaa2_caam_iova_to_virt() can be static
From: kbuild test robot
Date: Tue Sep 11 2018 - 01:20:48 EST
Fixes: 10c08052347f ("crypto: caam/qi2 - add DPAA2-CAAM driver")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
caamalg_qi2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/caam/caamalg_qi2.c b/drivers/crypto/caam/caamalg_qi2.c
index e883386..af8d890 100644
--- a/drivers/crypto/caam/caamalg_qi2.c
+++ b/drivers/crypto/caam/caamalg_qi2.c
@@ -80,8 +80,8 @@ struct caam_ctx {
unsigned int authsize;
};
-void *dpaa2_caam_iova_to_virt(struct dpaa2_caam_priv *priv,
- dma_addr_t iova_addr)
+static void *dpaa2_caam_iova_to_virt(struct dpaa2_caam_priv *priv,
+ dma_addr_t iova_addr)
{
phys_addr_t phys_addr;