From 73b86bb7033edfae2a25321116427d8cf386bc51 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Fri, 26 Aug 2016 14:21:08 +0000 Subject: chcr: Fix non static symbol warning Fixes the following sparse warning: drivers/crypto/chelsio/chcr_algo.c:593:5: warning: symbol 'cxgb4_is_crypto_q_full' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Herbert Xu Signed-off-by: David S. Miller --- drivers/crypto/chelsio/chcr_algo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/crypto/chelsio') diff --git a/drivers/crypto/chelsio/chcr_algo.c b/drivers/crypto/chelsio/chcr_algo.c index ad8e353cf897..e4ddb921d7b3 100644 --- a/drivers/crypto/chelsio/chcr_algo.c +++ b/drivers/crypto/chelsio/chcr_algo.c @@ -590,7 +590,7 @@ badkey_err: return -EINVAL; } -int cxgb4_is_crypto_q_full(struct net_device *dev, unsigned int idx) +static int cxgb4_is_crypto_q_full(struct net_device *dev, unsigned int idx) { int ret = 0; struct sge_ofld_txq *q; -- cgit v1.2.3