summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorTong Zhang <ztong0001@gmail.com>2021-03-18 23:39:59 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-26 20:02:36 +1100
commitb66accaab3791e15ac99c92f236d0d3a6d5bd64e (patch)
tree57add9d195c4866a7cb66d4c501a0936d255e96c /crypto
parent5b0ef7990e299fccc2003f019e9a26ade32b3269 (diff)
crypto: qat - don't release uninitialized resources
adf_vf_isr_resource_alloc() is not unwinding correctly when error happens and it want to release uninitialized resources. To fix this, only release initialized resources. [ 1.792845] Trying to free already-free IRQ 11 [ 1.793091] WARNING: CPU: 0 PID: 182 at kernel/irq/manage.c:1821 free_irq+0x202/0x380 [ 1.801340] Call Trace: [ 1.801477] adf_vf_isr_resource_free+0x32/0xb0 [intel_qat] [ 1.801785] adf_vf_isr_resource_alloc+0x14d/0x150 [intel_qat] [ 1.802105] adf_dev_init+0xba/0x140 [intel_qat] Signed-off-by: Tong Zhang <ztong0001@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Fixes: dd0f368398ea ("crypto: qat - Add qat dh895xcc VF driver") Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions