Re: [PATCH 0/2] crypto: qat: fix couple crashes duing error handling

2021-03-12 Thread Andy Shevchenko
On Fri, Mar 12, 2021 at 02:43:56AM -0500, Tong Zhang wrote:
> There are a couple of issues in qat error handling. Those drivers tries to
> release resources that is not initialized. This patch series tries to fix
> crashes caused by incorrect error handling.

Please, in this series and everywhere else use a common sense, when put
backtraces, oopses, etc in the commit message, i.e. leave only ~2-3
(significant) lines instead of 20-30.

-- 
With Best Regards,
Andy Shevchenko




[PATCH 0/2] crypto: qat: fix couple crashes duing error handling

2021-03-11 Thread Tong Zhang
There are a couple of issues in qat error handling. Those drivers tries to
release resources that is not initialized. This patch series tries to fix
crashes caused by incorrect error handling.

Tong Zhang (2):
  crypto: qat - dont release uninitialized resources
  crypto: qat: ADF_STATUS_PF_RUNNING should be set after adf_dev_init

 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c|  4 ++--
 drivers/crypto/qat/qat_c62xvf/adf_drv.c |  4 ++--
 drivers/crypto/qat/qat_common/adf_vf_isr.c  | 17 +
 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c |  4 ++--
 4 files changed, 19 insertions(+), 10 deletions(-)

-- 
2.25.1