All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: doc - fix typo (struct sdesc)
@ 2017-03-09  9:40 Fabien Dessenne
  2017-03-16 10:09 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Fabien Dessenne @ 2017-03-09  9:40 UTC (permalink / raw)
  To: linux-crypto

Add missing " " in api-samples.rst

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
---
 Documentation/crypto/api-samples.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/crypto/api-samples.rst b/Documentation/crypto/api-samples.rst
index 0a10819..d021fd9 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);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: doc - fix typo (struct sdesc)
  2017-03-09  9:40 [PATCH] crypto: doc - fix typo (struct sdesc) Fabien Dessenne
@ 2017-03-16 10:09 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2017-03-16 10:09 UTC (permalink / raw)
  To: Fabien Dessenne; +Cc: linux-crypto

Fabien Dessenne <fabien.dessenne@st.com> wrote:
> Add missing " " in api-samples.rst
> 
> Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-16 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09  9:40 [PATCH] crypto: doc - fix typo (struct sdesc) Fabien Dessenne
2017-03-16 10:09 ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.