Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: nx - Add forward declaration for struct crypto_aead

The file nx.h has function prototypes that use struct crypto_aead.
However, as crypto/aead.h is not included we don't have a definition
for it. This patch adds a forward declaration to fix this.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+2
+2
drivers/crypto/nx/nx.h
··· 149 149 } priv; 150 150 }; 151 151 152 + struct crypto_aead; 153 + 152 154 /* prototypes */ 153 155 int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm); 154 156 int nx_crypto_ctx_aes_gcm_init(struct crypto_aead *tfm);