Re: [EXT] Re: [PATCH] lib: fix coverity for unused variable

2023-06-27 Thread Thomas Monjalon
27/06/2023 23:52, Thomas Monjalon: > 27/06/2023 18:05, Amit Prakash Shukla: > > From: Thomas Monjalon > > > 16/06/2023 13:06, Amit Prakash Shukla: > > > > Removed variable "rc" that stored a return value from a function > > > > rte_lpm6_lookup_bulk_func. > > > > > > You are not really removing th

Re: [EXT] Re: [PATCH] lib: fix coverity for unused variable

2023-06-27 Thread Thomas Monjalon
> Cc: Nithin Kumar Dabilpuram ; Pavan Nikhilesh > > Bhagavatula ; dev@dpdk.org; Jerin Jacob > > Kollanukkaran > > Subject: [EXT] Re: [PATCH] lib: fix coverity for unused variable > > > > External Email > > > > ---

RE: [EXT] Re: [PATCH] lib: fix coverity for unused variable

2023-06-27 Thread Amit Prakash Shukla
ob > Kollanukkaran > Subject: [EXT] Re: [PATCH] lib: fix coverity for unused variable > > External Email > > -- > 16/06/2023 13:06, Amit Prakash Shukla: > > Removed variable "rc" that stored a ret

Re: [PATCH] lib: fix coverity for unused variable

2023-06-27 Thread Thomas Monjalon
16/06/2023 13:06, Amit Prakash Shukla: > Removed variable "rc" that stored a return value from a function > rte_lpm6_lookup_bulk_func. You are not really removing the variable, right? It looks you just stop storing the return of this function. Whouldn't it better to check the return code? > Cove

[PATCH] lib: fix coverity for unused variable

2023-06-16 Thread Amit Prakash Shukla
Removed variable "rc" that stored a return value from a function rte_lpm6_lookup_bulk_func. Coverity issue: 385595 Fixes: 20365d793e45 ("node: add IPv6 lookup node") Signed-off-by: Amit Prakash Shukla --- lib/node/ip6_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/