X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Feal%2Fcommon%2Feal_common_dev.c;h=e1e9976d8dc95694e99b62059520c6a51991fdb5;hb=518a974bfecc64a82886382f5db879db4a74231a;hp=148a23830ab5114680888f9443cb596d8e9d8858;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/eal/common/eal_common_dev.c b/lib/eal/common/eal_common_dev.c index 148a23830a..e1e9976d8d 100644 --- a/lib/eal/common/eal_common_dev.c +++ b/lib/eal/common/eal_common_dev.c @@ -573,7 +573,7 @@ int rte_dev_iterator_init(struct rte_dev_iterator *it, const char *dev_str) { - struct rte_devargs devargs; + struct rte_devargs devargs = { .bus = NULL }; struct rte_class *cls = NULL; struct rte_bus *bus = NULL;