From: Fabien DESSENNE Date: Thu, 9 Mar 2017 09:40:05 +0000 (+0100) Subject: crypto: doc - fix typo (struct sdesc) X-Git-Tag: v4.12-rc1~130^2~75 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=986bdd5944b3d630431198759517e79f60bd8fff;p=karo-tx-linux.git crypto: doc - fix typo (struct sdesc) Add missing " " in api-samples.rst Signed-off-by: Fabien Dessenne Signed-off-by: Herbert Xu --- diff --git a/Documentation/crypto/api-samples.rst b/Documentation/crypto/api-samples.rst index 0a10819f6107..d021fd96a76d 100644 --- a/Documentation/crypto/api-samples.rst +++ b/Documentation/crypto/api-samples.rst @@ -155,9 +155,9 @@ Code Example For Use of Operational State Memory With SHASH char ctx[]; }; - static struct sdescinit_sdesc(struct crypto_shash *alg) + static struct sdesc init_sdesc(struct crypto_shash *alg) { - struct sdescsdesc; + struct sdesc sdesc; int size; size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); @@ -172,7 +172,7 @@ Code Example For Use of Operational State Memory With SHASH static int calc_hash(struct crypto_shashalg, const unsigned chardata, unsigned int datalen, unsigned chardigest) { - struct sdescsdesc; + struct sdesc sdesc; int ret; sdesc = init_sdesc(alg);