summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-02-21 20:01:24 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-05 12:32:24 +0000
commit4169ed6ed1c31b75f070cdccf3ee82561d4b79ce (patch)
tree66ad5d6669dc056d67cc0bd903e22d0a22cc34f3 /drivers/bus
parent0c3b8a2c7d7d8ea713d252127059d1bd08eb0f5e (diff)
downloaddpdk-4169ed6ed1c31b75f070cdccf3ee82561d4b79ce.zip
dpdk-4169ed6ed1c31b75f070cdccf3ee82561d4b79ce.tar.gz
dpdk-4169ed6ed1c31b75f070cdccf3ee82561d4b79ce.tar.xz
bus/vdev: fix debug message on probing
The log was printing the device name two times, first one being supposed to be the driver name. As we don't know yet the driver name, the log is simplified. Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Rami Rosen <ramirose@gmail.com> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/vdev/vdev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c
index 2c03ca4..7225411 100644
--- a/drivers/bus/vdev/vdev.c
+++ b/drivers/bus/vdev/vdev.c
@@ -144,9 +144,7 @@ vdev_probe_all_drivers(struct rte_vdev_device *dev)
int ret;
name = rte_vdev_device_name(dev);
-
- VDEV_LOG(DEBUG, "Search driver %s to probe device %s", name,
- rte_vdev_device_name(dev));
+ VDEV_LOG(DEBUG, "Search driver to probe device %s", name);
if (vdev_parse(name, &driver))
return -1;