> -----Original Message-----
> From: sk...@marvell.com <sk...@marvell.com>
> Sent: Thursday, November 14, 2024 1:08 PM
> To: Liron Himi <lir...@marvell.com>; Jerin Jacob <jer...@marvell.com>
> Cc: dev@dpdk.org; alia...@nvidia.com; Sunil Kumar Kori
> <sk...@marvell.com>; sta...@dpdk.org
> Subject: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
> 
> From: Sunil Kumar Kori <sk...@marvell.com>
> 
> Bugzilla ID: 1513
> Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Sunil Kumar Kori <sk...@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};

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

>       union ree_res *res;
>       uint32_t offset;
> 
> --
> 2.43.0

Reply via email to