mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
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>
This commit is contained in:
parent
942e298eba
commit
73b86bb703
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ static int chcr_aes_cbc_setkey(struct crypto_ablkcipher *tfm, const u8 *key,
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue