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:
f4e6ff8
)
test/eventdev: fix build with gcc 7
author
Bruce Richardson
<bruce.richardson@intel.com>
Thu, 4 May 2017 15:38:22 +0000
(16:38 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 5 May 2017 16:36:55 +0000
(18:36 +0200)
GCC flags an uninitialized value, so provide an initializer.
Fixes:
3a17ff401f1e
("test/eventdev: add basic SW tests")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
test/test/test_eventdev_sw.c
patch
|
blob
|
history
diff --git
a/test/test/test_eventdev_sw.c
b/test/test/test_eventdev_sw.c
index
86efd74
..
b187d02
100644
(file)
--- a/
test/test/test_eventdev_sw.c
+++ b/
test/test/test_eventdev_sw.c
@@
-2526,7
+2526,7
@@
parallel_basic(struct test *t, int check_order)
int i;
uint32_t deq_pkts, j;
struct rte_mbuf *mbufs[3];
- struct rte_mbuf *mbufs_out[3];
+ struct rte_mbuf *mbufs_out[3]
= { 0 }
;
const uint32_t MAGIC_SEQN = 1234;
/* Create instance with 4 ports */