Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1461305
| From | Tim Chen <tim.c.chen@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] crypto: fix ctx pointer in sha512-mb |
| Date | 2016-08-12 18:30 +0200 |
| Message-ID | <s5nvj-403-3@gated-at.bofh.it> (permalink) |
| References | <s5h6x-8kl-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 2016-08-12 at 06:28 -0400, Xiaodong Liu wrote:
> Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
> ---
> arch/x86/crypto/sha512-mb/sha512_mb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/crypto/sha512-mb/sha512_mb.c b/arch/x86/crypto/sha512-mb/sha512_mb.c
> index f4cf5b7..d210174 100644
> --- a/arch/x86/crypto/sha512-mb/sha512_mb.c
> +++ b/arch/x86/crypto/sha512-mb/sha512_mb.c
> @@ -497,10 +497,10 @@ static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx,
>
> req = cast_mcryptd_ctx_to_req(req_ctx);
> if (irqs_disabled())
> - rctx->complete(&req->base, ret);
> + req_ctx->complete(&req->base, ret);
> else {
> local_bh_disable();
> - rctx->complete(&req->base, ret);
> + req_ctx->complete(&req->base, ret);
> local_bh_enable();
> }
> }
Changes look fine to me.
Acked.
Tim
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] crypto: fix ctx pointer in sha512-mb Xiaodong Liu <xiaodong.liu@intel.com> - 2016-08-12 11:40 +0200 Re: [PATCH] crypto: fix ctx pointer in sha512-mb Tim Chen <tim.c.chen@linux.intel.com> - 2016-08-12 18:30 +0200 Re: [PATCH] crypto: fix ctx pointer in sha512-mb Herbert Xu <herbert@gondor.apana.org.au> - 2016-08-16 12:00 +0200
csiph-web