git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dev: fix attach proceeding with vdev on PCI success
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_dev.c
diff --git
a/lib/librte_eal/common/eal_common_dev.c
b/lib/librte_eal/common/eal_common_dev.c
index
e10b9fd
..
d74f978
100644
(file)
--- a/
lib/librte_eal/common/eal_common_dev.c
+++ b/
lib/librte_eal/common/eal_common_dev.c
@@
-74,7
+74,7
@@
int rte_eal_dev_attach(const char *name, const char *devargs)
}
ret = rte_eal_hotplug_add("pci", name, devargs);
- if (ret
&& ret
!= -EINVAL)
+ if (ret != -EINVAL)
return ret;
/*