On Thu, Mar 25, 2021 at 08:34:18AM +0000, 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 accelerator") > Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com> > Reviewed-by: Marco Chiappero <marco.chiapp...@intel.com> > --- > drivers/crypto/qat/qat_common/adf_isr.c | 29 ++++++++++++++++++------- > 1 file changed, 21 insertions(+), 8 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt