Commit 1efb892b authored by Colin Ian King's avatar Colin Ian King Committed by Herbert Xu
Browse files

crypto: chelsio - Make function aead_ccm_validate_input static



Function aead_ccm_validate_input is local to the source and does not
need to be in global scope, so make it static.

Cleans up sparse warning:
drivers/crypto/chelsio/chcr_algo.c:2627:5: warning: symbol
'aead_ccm_validate_input' was not declared. Should it be static?

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b09dd347
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2636,7 +2636,7 @@ static void fill_sec_cpl_for_aead(struct cpl_tx_sec_pdu *sec_cpl,
					0, dst_size);
}

int aead_ccm_validate_input(unsigned short op_type,
static int aead_ccm_validate_input(unsigned short op_type,
				   struct aead_request *req,
				   struct chcr_aead_ctx *aeadctx,
				   unsigned int sub_type)