Re: [PATCH] crypto: inside-secure - fix an error handling path in safexcel_probe()

2017-08-22 Thread Herbert Xu
On Tue, Aug 15, 2017 at 09:33:24PM +0200, Christophe JAILLET wrote: > 'ret' is known to be 0 at this point. > If 'safexcel_request_ring_irq()' fails, it returns an error code. > Return this value instead of 0 which means success. > > Signed-off-by: Christophe JAILLET Patch applied. Thanks. --

[PATCH] crypto: inside-secure - fix an error handling path in safexcel_probe()

2017-08-15 Thread Christophe JAILLET
'ret' is known to be 0 at this point. If 'safexcel_request_ring_irq()' fails, it returns an error code. Return this value instead of 0 which means success. Signed-off-by: Christophe JAILLET --- drivers/crypto/inside-secure/safexcel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) di