Skip to contentSkip to conversation

crypto/sha-mb/sha1_mb.c : Syntax error

PATCH Applied Ameen Ali 2 participants 2 messages Mar 13, 2015

Subsystems (2)
lore
Share & tools
lore

Ameen Ali

author
#0 lore raw

PATCH 12/12 crypto/sha-mb/sha1_mb.c : Syntax error

fixing a syntax-error .

---
 arch/x86/crypto/sha-mb/sha1_mb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/crypto/sha-mb/sha1_mb.c +1 -1
index fd9f6b0..ec0b989 100644
@@ -828,7 +828,7 @@ static unsigned long sha1_mb_flusher(struct mcryptd_alg_cstate *cstate)
 	while (!list_empty(&cstate->work_list)) {
 		rctx = list_entry(cstate->work_list.next,
 				struct mcryptd_hash_request_ctx, waiter);
-		if time_before(cur_time, rctx->tag.expire)
+		if(time_before(cur_time, rctx->tag.expire))
 			break;
 		kernel_fpu_begin();
 		sha_ctx = (struct sha1_hash_ctx *) sha1_ctx_mgr_flush(cstate->mgr);
Signature · 1 line
2.1.0
#1 lore raw
Quoted 12 lines · Ameen Ali

fixing a syntax-error .

---
 arch/x86/crypto/sha-mb/sha1_mb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/crypto/sha-mb/sha1_mb.c +0 -0
index fd9f6b0..ec0b989 100644

arch/x86/crypto/sha-mb/sha1_mb.c static unsigned long sha1_mb_flusher(struct mcryptd_alg_cstate *cstate) · line 831

Quoted 5 lines
arch/x86/crypto/sha-mb/sha1_mb.c +1 -1
@@ -828,7 +828,7 @@ static unsigned long sha1_mb_flusher(struct mcryptd_alg_cstate *cstate)
 	while (!list_empty(&cstate->work_list)) {
 		rctx = list_entry(cstate->work_list.next,
 				struct mcryptd_hash_request_ctx, waiter);
-		if time_before(cur_time, rctx->tag.expire)
+		if(time_before(cur_time, rctx->tag.expire))

Can you add a space and make it

		if (time_before(cur_time, rctx->tag.expire))

Thanks.

Tim

Quoted 3 lines
arch/x86/crypto/sha-mb/sha1_mb.c +0 -0
 			break;
 		kernel_fpu_begin();
 		sha_ctx = (struct sha1_hash_ctx *) sha1_ctx_mgr_flush(cstate->mgr);