Loading
crypto: hisilicon/debugfs - Fix debugfs uninit process issue
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9GMIW CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev.git/commit/?id=8be091338971 ---------------------------------------------------------------------- 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. Fixes: 3f2aebe9 ("crypto: hisilicon/debugfs - Fix debugfs uninit process issue") Signed-off-by:Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
JangShui Yang <yangjiangshui@h-partners.com> Signed-off-by:
XiaoFeng Ma <maxiaofeng14@h-partners.com>