git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f7664
)
net/mlx5: fix uninitialized variable in probing
author
Andy Green
<andy@warmcat.com>
Mon, 14 May 2018 05:04:38 +0000
(13:04 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 15 May 2018 20:29:22 +0000
(22:29 +0200)
Fixes:
ccdcba53a3f4
("net/mlx5: use Netlink to add/remove MAC addresses")
Signed-off-by: Andy Green <andy@warmcat.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5.c
b/drivers/net/mlx5/mlx5.c
index
8aa91cc
..
f455ea8
100644
(file)
--- a/
drivers/net/mlx5/mlx5.c
+++ b/
drivers/net/mlx5/mlx5.c
@@
-686,7
+686,7
@@
mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
int err = 0;
struct ibv_context *attr_ctx = NULL;
struct ibv_device_attr_ex device_attr;
- unsigned int vf;
+ unsigned int vf
= 0
;
unsigned int mps;
unsigned int cqe_comp;
unsigned int tunnel_en = 0;