From: Thomas Monjalon Date: Thu, 21 Feb 2019 19:01:24 +0000 (+0100) Subject: bus/vdev: fix debug message on probing X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4169ed6ed1c31b75f070cdccf3ee82561d4b79ce;p=dpdk.git 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 Reviewed-by: Rami Rosen Reviewed-by: Andrew Rybchenko --- diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 2c03ca4185..7225411791 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;