Re: [dpdk-dev] [PATCH] net/softnic: remove useless address check

2021-10-13 Thread Ferruh Yigit
On 10/13/2021 4:54 PM, Singh, Jasvinder wrote: -Original Message- From: Yigit, Ferruh Sent: Monday, October 4, 2021 6:27 PM To: Singh, Jasvinder ; Dumitrescu, Cristian Cc: Yigit, Ferruh ; dev@dpdk.org Subject: [PATCH] net/softnic: remove useless address check Reported by "gcc (GCC)

Re: [dpdk-dev] [PATCH] net/softnic: remove useless address check

2021-10-13 Thread Singh, Jasvinder
> -Original Message- > From: Yigit, Ferruh > Sent: Monday, October 4, 2021 6:27 PM > To: Singh, Jasvinder ; Dumitrescu, Cristian > > Cc: Yigit, Ferruh ; dev@dpdk.org > Subject: [PATCH] net/softnic: remove useless address check > > Reported by "gcc (GCC) 12.0.0 20211003 (experimental)":

[dpdk-dev] [PATCH] net/softnic: remove useless address check

2021-10-04 Thread Ferruh Yigit
Reported by "gcc (GCC) 12.0.0 20211003 (experimental)": ./drivers/net/softnic/rte_eth_softnic_cli.c: In function ‘tmgr_hierarchy_default’: ./drivers/net/softnic/rte_eth_softnic_cli.c:634:73: error: the comparison will always evaluate as ‘true’ for the address of ‘tc_valid’