[PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
Jerin Jacob
jerinj at marvell.com
Mon Nov 18 09:40:40 CET 2024
> -----Original Message-----
> From: skori at marvell.com <skori at marvell.com>
> Sent: Thursday, November 14, 2024 1:08 PM
> To: Liron Himi <lironh at marvell.com>; Jerin Jacob <jerinj at marvell.com>
> Cc: dev at dpdk.org; alialnu at nvidia.com; Sunil Kumar Kori
> <skori at marvell.com>; stable at dpdk.org
> Subject: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
>
> 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};
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 15131 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/stable/attachments/20241118/d4f9825d/attachment.bin>
More information about the stable
mailing list