Re: [PATCH] crypto: vmx: remove unnecessary check

2017-06-19 Thread Herbert Xu
On Fri, Jun 16, 2017 at 11:39:48AM +0300, Tudor Ambarus wrote: > You can't reach init() if parent alg_name is invalid. Moreover, > cypto_alloc_base() will return ENOENT if alg_name is NULL. > Found while grasping the fallback mechanism. > > Signed-off-by: Tudor Ambarus

[PATCH] crypto: vmx: remove unnecessary check

2017-06-16 Thread Tudor Ambarus
You can't reach init() if parent alg_name is invalid. Moreover, cypto_alloc_base() will return ENOENT if alg_name is NULL. Found while grasping the fallback mechanism. Signed-off-by: Tudor Ambarus --- drivers/crypto/vmx/aes.c | 7 +--