From: Jhih-Ming Hunag Date: Tue, 20 Jun 2017 14:52:04 +0000 (+0800) Subject: staging: ccree: move else to follow close brace '}' X-Git-Tag: v5.15~11009^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bd251513051a9e287d9726e42ad8aea5c77c7c9;p=platform%2Fkernel%2Flinux-starfive.git staging: ccree: move else to follow close brace '}' Move else to follow close brace '}' Signed-off-by: Jhih-Ming Hunag Acked-by: Gilad Ben-Yossef Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c index 57c7c68..c70e450 100644 --- a/drivers/staging/ccree/ssi_aead.c +++ b/drivers/staging/ccree/ssi_aead.c @@ -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));