lkml.org 
[lkml]   [2015]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error
From
Date
On Fri, 2015-03-13 at 23:13 +0200, Ameen Ali wrote:
> fixing a syntax-error .
>
> Signed-off-by : Ameen Ali <AmeenAli023@gmail.com>
> ---
> arch/x86/crypto/sha-mb/sha1_mb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c b/arch/x86/crypto/sha-mb/sha1_mb.c
> index fd9f6b0..ec0b989 100644
> --- a/arch/x86/crypto/sha-mb/sha1_mb.c
> +++ b/arch/x86/crypto/sha-mb/sha1_mb.c
> @@ -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
> break;
> kernel_fpu_begin();
> sha_ctx = (struct sha1_hash_ctx *) sha1_ctx_mgr_flush(cstate->mgr);




\
 
 \ /
  Last update: 2015-03-13 22:41    [W:0.049 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site