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:
1656e23
)
ethdev: fix build of named allocation debug
author
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 2 Jul 2014 13:10:10 +0000
(15:10 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 2 Jul 2014 20:32:26 +0000
(22:32 +0200)
The commit
83b41136934
(add unique name to devices) didn't compile if
CONFIG_RTE_LIBRTE_ETHDEV_DEBUG is enabled.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_ether/rte_ethdev.c
patch
|
blob
|
history
diff --git
a/lib/librte_ether/rte_ethdev.c
b/lib/librte_ether/rte_ethdev.c
index
8dccc6f
..
fd1010a
100644
(file)
--- a/
lib/librte_ether/rte_ethdev.c
+++ b/
lib/librte_ether/rte_ethdev.c
@@
-180,7
+180,7
@@
rte_eth_dev_allocate(const char *name)
rte_eth_dev_data_alloc();
if (rte_eth_dev_allocated(name) != NULL) {
- PMD_DEBUG_TRACE("Ethernet Device with name %s already allocated!\n");
+ PMD_DEBUG_TRACE("Ethernet Device with name %s already allocated!\n"
, name
);
return NULL;
}