Skip to content
Commit 4f3bf3fe authored by Ruiqiang Hao's avatar Ruiqiang Hao Committed by Bruce Ashfield
Browse files

crypto: octeontx2: supplement function is_any_alg_used() according to SDK

Compared with SDK11, upstream commit 6f03f0e8 (crypto: octeontx2 -
register with linux crypto framework) missed function is_any_alg_used(),
after commit 2b94fd0a

(crypto: octeontx2: sync with upstream driver),
we catched compile error below, add missing function accroding to SDK11
to fix this.

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c: In function 'otx2_cpt_crypto_exit':
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c:1749:14: error: implicit declaration of function 'is_any_alg_used' [-Werror=implicit-function-declaration]
 1749 |             !is_any_alg_used()) {
      |              ^~~~~~~~~~~~~~~

Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 42a86da5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment