diff options
author | Xiongfeng Wang <wangxiongfeng2@huawei.com> | 2022-11-11 11:00:36 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-11-18 09:59:34 +0100 |
commit | cc7710d0d4ebc6998f04035cde4f32c5ddbe9d7f (patch) | |
tree | acd617e0b7e8f5bb049d3d87a6b5279fed441533 /crypto | |
parent | crypto: cryptd - Use request context instead of stack for sub-request (diff) | |
download | linux-cc7710d0d4ebc6998f04035cde4f32c5ddbe9d7f.tar.xz linux-cc7710d0d4ebc6998f04035cde4f32c5ddbe9d7f.zip |
crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set()
pci_get_device() will increase the reference count for the returned
pci_dev. We need to use pci_dev_put() to decrease the reference count
before q_num_set() returns.
Fixes: c8b4b477079d ("crypto: hisilicon - add HiSilicon HPRE accelerator")
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions