crypto: hisilicon/sec - fix the abnormal exiting process
authorKai Ye <yekai13@huawei.com>
Fri, 13 Aug 2021 07:41:01 +0000 (15:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 21 Aug 2021 07:44:57 +0000 (15:44 +0800)
commit90367a027a22c3a9ca8b8bac15df34d9e859fc11
tree2e22f4dbc548282b083c1e8b70e668e08d785321
parent598cf42554749a7c59205879fd6e06ef6d021d94
crypto: hisilicon/sec - fix the abnormal exiting process

Because the algs registration process has added a judgment.
So need to add the judgment for the abnormal exiting process.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_main.c