diff options
author | Chenghai Huang <huangchenghai2@huawei.com> | 2024-04-07 09:59:53 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-12 09:07:52 +0200 |
commit | 8be0913389718e8d27c4f1d4537b5e1b99ed7739 (patch) | |
tree | 93052edc4eab08f0a08f8d2354bbcc0b92716dba /drivers/crypto/nx | |
parent | crypto: hisilicon/sec - Add the condition for configuring the sriov function (diff) | |
download | linux-8be0913389718e8d27c4f1d4537b5e1b99ed7739.tar.xz linux-8be0913389718e8d27c4f1d4537b5e1b99ed7739.zip |
crypto: hisilicon/debugfs - Fix debugfs uninit process issue
During the zip probe process, the debugfs failure does not stop
the probe. When debugfs initialization fails, jumping to the
error branch will also release regs, in addition to its own
rollback operation.
As a result, it may be released repeatedly during the regs
uninit process. Therefore, the null check needs to be added to
the regs uninit process.
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/nx')
0 files changed, 0 insertions, 0 deletions