This change fixes an uninitialized local variable as reported in coverity issue 445390.
Coverity-issue: 445390 Fixes: a8ebe94f8cc ("crypto/cnxk: support EdDSA") Cc: sta...@dpdk.org Signed-off-by: Gowrishankar Muthukrishnan <gmuthukri...@marvell.com> --- drivers/crypto/cnxk/cnxk_ae.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_ae.h b/drivers/crypto/cnxk/cnxk_ae.h index 75d6a536ae..8508ab8736 100644 --- a/drivers/crypto/cnxk/cnxk_ae.h +++ b/drivers/crypto/cnxk/cnxk_ae.h @@ -191,7 +191,7 @@ static __rte_always_inline int cnxk_ae_fill_ec_params(struct cnxk_ae_sess *sess, struct rte_crypto_asym_xform *xform) { struct roc_ae_ec_ctx *ec = &sess->ec_ctx; - union cpt_inst_w4 w4; + union cpt_inst_w4 w4 = {0}; switch (xform->ec.curve_id) { case RTE_CRYPTO_EC_GROUP_SECP192R1: -- 2.25.1