]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: ccree: move else to follow close brace '}'
authorJhih-Ming Hunag <fbihjmeric@gmail.com>
Tue, 20 Jun 2017 14:52:04 +0000 (22:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jun 2017 16:26:26 +0000 (00:26 +0800)
Move else to follow close brace '}'

Signed-off-by: Jhih-Ming Hunag <fbihjmeric@gmail.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_aead.c

index 57c7c68db2c4e0d33ae0d376df321310673b23e3..c70e45023d067776d6006f9eedb66bc4724c47f8 100644 (file)
@@ -1919,8 +1919,7 @@ static int config_gcm_context(struct aead_request *req)
                memcpy (&req_ctx->gcm_len_block.lenA, &temp64, sizeof(temp64));
                temp64 = cpu_to_be64(cryptlen * 8);
                memcpy (&req_ctx->gcm_len_block.lenC, &temp64, 8);
-       }
-       else { //rfc4543=>  all data(AAD,IV,Plain) are considered additional data that is nothing is encrypted.
+       } else { //rfc4543=>  all data(AAD,IV,Plain) are considered additional data that is nothing is encrypted.
                __be64 temp64;
                temp64 = cpu_to_be64((req->assoclen+GCM_BLOCK_RFC4_IV_SIZE+cryptlen) * 8);
                memcpy (&req_ctx->gcm_len_block.lenA, &temp64, sizeof(temp64));