Re: [PATCH] crypto: dh - Consistenly return negative error codes

2016-11-13 Thread Herbert Xu
On Tue, Nov 08, 2016 at 03:48:22PM -0800, Mat Martineau wrote: > Fix the single instance where a positive EINVAL was returned. > > Signed-off-by: Mat Martineau Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herb

[PATCH] crypto: dh - Consistenly return negative error codes

2016-11-08 Thread Mat Martineau
Fix the single instance where a positive EINVAL was returned. Signed-off-by: Mat Martineau --- crypto/dh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/dh.c b/crypto/dh.c index 9d19360..ddcb528 100644 --- a/crypto/dh.c +++ b/crypto/dh.c @@ -118,7 +118,7 @@ static in