Subject: [RFC PATCH] crypto: dpaa2_caam_iova_to_virt() can be static

From: [email-masked] (kbuild test robot)
Date: Tue, 11 Sep 2018 13:20:07 +0800

Fixes: 10c08052347f ("crypto: caam/qi2 - add DPAA2-CAAM driver")
Signed-off-by: kbuild test robot <[email-masked]>
---
 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;