[PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
skori at marvell.com
skori at marvell.com
Thu Nov 14 08:38:15 CET 2024
From: Sunil Kumar Kori <skori at marvell.com>
Bugzilla ID: 1513
Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")
Cc: stable at dpdk.org
Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
---
drivers/regex/cn9k/cn9k_regexdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regex/cn9k/cn9k_regexdev.c b/drivers/regex/cn9k/cn9k_regexdev.c
index aa809ab5bf..e635980183 100644
--- a/drivers/regex/cn9k/cn9k_regexdev.c
+++ b/drivers/regex/cn9k/cn9k_regexdev.c
@@ -271,7 +271,7 @@ static inline int
ree_enqueue(struct roc_ree_qp *qp, struct rte_regex_ops *op,
struct roc_ree_pending_queue *pend_q)
{
- union roc_ree_inst inst;
+ union roc_ree_inst inst = {0};
union ree_res *res;
uint32_t offset;
--
2.43.0
More information about the dev
mailing list