From: Ruiqiang Hao <[email protected]>

Function kzfree () was not exist, so replace it with kfree_sensitive().

Signed-off-by: Ruiqiang Hao <[email protected]>
---
 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h 
b/drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
index f07a52c4b8cd..681569f1e13f 100644
--- a/drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
+++ b/drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
@@ -201,7 +201,7 @@ static inline void do_request_cleanup(struct pci_dev *pdev,
                                                 DMA_BIDIRECTIONAL);
                }
        }
-       kzfree(info);
+       kfree_sensitive(info);
 }
 
 struct otx2_cptlf_wqe;
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10050): 
https://lists.yoctoproject.org/g/linux-yocto/message/10050
Mute This Topic: https://lists.yoctoproject.org/mt/83990782/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to