Re: mlx5: unitialized warning

2021-12-17 Thread Stephen Hemminger
On Fri, 17 Dec 2021 19:28:26 + Dmitry Kozlyuk wrote: > > > I don't see this warning with gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04). > [...] > > > > It maybe because I was testing with thread santizer enabled and compiler > > was doing different optimizations. > > Reproduced with -Dc_arg

RE: mlx5: unitialized warning

2021-12-17 Thread Dmitry Kozlyuk
> > I don't see this warning with gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04). [...] > > It maybe because I was testing with thread santizer enabled and compiler > was doing different optimizations. Reproduced with -Dc_args=-fsanitize=thread, thanks!

Re: mlx5: unitialized warning

2021-12-17 Thread Stephen Hemminger
On Fri, 17 Dec 2021 19:01:31 + Dmitry Kozlyuk wrote: > > Building current main branch with gcc (Debian 10.2.1-6) 10.2.1 20210110 > > > > > > [1843/3131] Compiling C object > > drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o > > ../drivers/net/mlx5/mlx5_flow_meter.c: In function

RE: mlx5: unitialized warning

2021-12-17 Thread Dmitry Kozlyuk
> Building current main branch with gcc (Debian 10.2.1-6) 10.2.1 20210110 > > > [1843/3131] Compiling C object > drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o > ../drivers/net/mlx5/mlx5_flow_meter.c: In function > ‘mlx5_flow_meter_create’: > ../drivers/net/mlx5/mlx5_flow_meter.c:11

mlx5: unitialized warning

2021-12-17 Thread Stephen Hemminger
Building current main branch with gcc (Debian 10.2.1-6) 10.2.1 20210110 [1843/3131] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o ../drivers/net/mlx5/mlx5_flow_meter.c: In function ‘mlx5_flow_meter_create’: ../drivers/net/mlx5/mlx5_flow_meter.c:1170:33: warning: