]> git.droids-corp.org - dpdk.git/commitdiff
bus/vdev: fix debug message on probing
authorThomas Monjalon <thomas@monjalon.net>
Thu, 21 Feb 2019 19:01:24 +0000 (20:01 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 Mar 2019 12:32:24 +0000 (12:32 +0000)
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>
drivers/bus/vdev/vdev.c

index 2c03ca418595c81e79cc67aa2ec99b450362a29c..72254117917b3dc5c8d6f07fe1f447c6e37ca1a4 100644 (file)
@@ -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;