> -----Original Message-----
> From: Jerin Jacob <[email protected]>
> Sent: Monday, November 18, 2024 2:11 PM
> To: Sunil Kumar Kori <[email protected]>; Liron Himi <[email protected]>
> Cc: [email protected]; [email protected]; Sunil Kumar Kori
> <[email protected]>; [email protected]
> Subject: RE: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
>
>
>
> > -----Original Message-----
> > From: [email protected] <[email protected]>
> > Sent: Thursday, November 14, 2024 1:08 PM
> > To: Liron Himi <[email protected]>; Jerin Jacob <[email protected]>
> > Cc: [email protected]; [email protected]; Sunil Kumar Kori
> > <[email protected]>; [email protected]
> > Subject: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
> >
> > From: Sunil Kumar Kori <[email protected]>
> >
> > Bugzilla ID: 1513
> > Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")
> > Cc: [email protected]
> >
> > Signed-off-by: Sunil Kumar Kori <[email protected]>
> > ---
> > 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};
>
> This changes are in fastpath and it is costly. Please fix with other means or
> suppress the warning if it not relevant.
> I skipped this patch for the merged and 1/3, 3/3 patches are pplied to dpdk-
> next-net-mrvl/for-main. Thanks
Ack.
>
> > union ree_res *res;
> > uint32_t offset;
> >
> > --
> > 2.43.0