Re: [PATCH] crypto: qat - fix error path in adf_isr_resource_alloc()

2021-04-02 Thread Herbert Xu
On Thu, Mar 25, 2021 at 08:34:18AM +, Giovanni Cabiddu wrote: > The function adf_isr_resource_alloc() is not unwinding correctly in case > of error. > This patch fixes the error paths and propagate the errors to the caller. > > Fixes: 7afa232e76ce ("crypto: qat - Intel(R) QAT DH895xcc accelera

[PATCH] crypto: qat - fix error path in adf_isr_resource_alloc()

2021-03-25 Thread Giovanni Cabiddu
The function adf_isr_resource_alloc() is not unwinding correctly in case of error. This patch fixes the error paths and propagate the errors to the caller. Fixes: 7afa232e76ce ("crypto: qat - Intel(R) QAT DH895xcc accelerator") Signed-off-by: Giovanni Cabiddu Reviewed-by: Marco Chiappero --- dr