From 0f1a2b09c9cd3db97b43a9384bc9573a971f1aeb Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 16 Jul 2019 13:39:10 -0700 Subject: [PATCH] net/bonding: use dynamic log type for error message The generic RTE_LOGTYPE_PMD is a historical relic and should not be used. Bonding driver was still using it in one place. Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- drivers/net/bonding/rte_eth_bond_args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_args.c b/drivers/net/bonding/rte_eth_bond_args.c index 936440fb84..f298ea0e17 100644 --- a/drivers/net/bonding/rte_eth_bond_args.c +++ b/drivers/net/bonding/rte_eth_bond_args.c @@ -81,7 +81,7 @@ parse_port_id(const char *port_str) pci_bus = rte_bus_find_by_name("pci"); if (pci_bus == NULL) { - RTE_LOG(ERR, PMD, "unable to find PCI bus\n"); + RTE_BOND_LOG(ERR, "unable to find PCI bus\n"); return -1; } -- 2.20.1