RE: [PATCH -next] crypto: asymmetric_keys - Fix error return code on failure

2017-02-09 Thread weiyongjun (A)
Hi David, > > --- a/crypto/asymmetric_keys/public_key.c > > +++ b/crypto/asymmetric_keys/public_key.c > > @@ -184,8 +184,10 @@ static int software_key_eds_op(struct > kernel_pkey_params *params, > > return PTR_ERR(tfm); > > > > req = akcipher_request_alloc(tfm, GFP_KERNEL); > > -

Re: [PATCH -next] crypto: asymmetric_keys - Fix error return code on failure

2017-02-09 Thread David Howells
Wei Yongjun wrote: > --- a/crypto/asymmetric_keys/public_key.c > +++ b/crypto/asymmetric_keys/public_key.c > @@ -184,8 +184,10 @@ static int software_key_eds_op(struct kernel_pkey_params > *params, > return PTR_ERR(tfm); > > req =