numam-dpdk/drivers
Thomas Monjalon 554f06d10b net/mlx4: fix possible uninitialized variable
When compiling with gcc -O1, this error appears:
	drivers/net/mlx4/mlx4_ethdev.c: In function ‘mlx4_rxmode_toggle’:
	rte_log.h:321:3: error:
	‘mode’ may be used uninitialized in this function

The function mlx4_rxmode_toggle is never called with a value which
is not in the switch block, but GCC complains about it with -O1.
So the default case is "fixed" by setting string "undefined".

Fixes: eacaac7bae ("net/mlx4: restore promisc and allmulti support")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-11-23 01:43:39 +01:00
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus vfio: fix build with Linux < 4.0 2018-11-18 22:31:30 +01:00
common common/cpt: fix bit shift operation for KASUMI 2018-11-18 22:31:30 +01:00
compress compress/isal: fix uncleared compression states 2018-11-02 12:26:06 +01:00
crypto crypto/octeontx: fix null pointer dereferencing 2018-11-14 04:32:48 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool add missing static keyword to globals 2018-10-29 02:01:08 +01:00
net net/mlx4: fix possible uninitialized variable 2018-11-23 01:43:39 +01:00
raw drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change default driver installation directory 2018-10-27 23:22:12 +02:00