diff options
author | Wei Yongjun | 2016-08-26 16:21:08 +0200 |
---|---|---|
committer | David S. Miller | 2016-08-27 06:45:07 +0200 |
commit | 73b86bb7033edfae2a25321116427d8cf386bc51 (patch) | |
tree | 67a8f52e0d53c55dd09a4fb81c5547dd71a39dd4 /drivers/crypto/chelsio | |
parent | sfc: work around TRIGGER_INTERRUPT command not working on SFC9140 (diff) | |
download | kernel-qcow2-linux-73b86bb7033edfae2a25321116427d8cf386bc51.tar.gz kernel-qcow2-linux-73b86bb7033edfae2a25321116427d8cf386bc51.tar.xz kernel-qcow2-linux-73b86bb7033edfae2a25321116427d8cf386bc51.zip |
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 <weiyongjun1@huawei.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/crypto/chelsio')
-rw-r--r-- | drivers/crypto/chelsio/chcr_algo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |