From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 1/2] bus/vdev: fix debug message on probing Date: Thu, 21 Feb 2019 20:01:24 +0100 Message-ID: <20190221190125.24140-2-thomas@monjalon.net> References: <20190221190125.24140-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: ferruh.yigit@intel.com To: dev@dpdk.org Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 34AC92B9E for ; Thu, 21 Feb 2019 20:01:37 +0100 (CET) In-Reply-To: <20190221190125.24140-1-thomas@monjalon.net> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: ferruh.yigit@intel.com Signed-off-by: Thomas Monjalon --- drivers/bus/vdev/vdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.20.1