numam-dpdk/drivers
Nelio Laranjeiro 4e66a6fef3 net/mlx5: fix an uninitialized variable
Since patch "mbuf: structure reorganization" the compiler complains
sometimes (in some conditions):

 .../drivers/net/mlx5/mlx5_rxtx.c: In function ‘mlx5_rx_burst’:
 .../drivers/net/mlx5/mlx5_rxtx.c:2082:17: error: ‘len’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]

len is not initialised as it will be at the first segment of a received
packet, but it remains hard for the compiler to determine it.

Fixes: 9964b965ad ("net/mlx5: re-add Rx scatter support")
Cc: stable@dpdk.org

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-04-06 13:08:24 +02:00
..
crypto ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
event event/sw: fix build with icc 2017-04-05 18:20:42 +02:00
mempool mempool: move stack handler as a driver 2017-04-03 19:45:45 +02:00
net net/mlx5: fix an uninitialized variable 2017-04-06 13:08:24 +02:00
Makefile event/skeleton: add skeleton eventdev driver 2017-04-04 19:12:00 +02:00