crypto: atmel-tdes - use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 27 Sep 2020 19:12:27 +0000 (21:12 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Oct 2020 08:02:15 +0000 (18:02 +1000)
Replace commas with semicolons.  What is done is essentially described by
the following Coccinelle semantic patch (http://coccinelle.lip6.fr/):

// <smpl>
@@ expression e1,e2; @@
e1
-,
+;
e2
... when any
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-tdes.c

index ed40dbb98c6b505097e0497eccf44938d80d395b..4d63cb13a54f975fc13a652927fce3583ccedcc4 100644 (file)
@@ -912,7 +912,7 @@ static void atmel_tdes_skcipher_alg_init(struct skcipher_alg *alg)
 {
        alg->base.cra_priority = ATMEL_TDES_PRIORITY;
        alg->base.cra_flags = CRYPTO_ALG_ASYNC;
-       alg->base.cra_ctxsize = sizeof(struct atmel_tdes_ctx),
+       alg->base.cra_ctxsize = sizeof(struct atmel_tdes_ctx);
        alg->base.cra_module = THIS_MODULE;
 
        alg->init = atmel_tdes_init_tfm;