From patchwork Thu Feb 21 19:01:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 50422 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7CEAB2BA7; Thu, 21 Feb 2019 20:01:38 +0100 (CET) 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CC6FB22F71; Thu, 21 Feb 2019 14:01:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 21 Feb 2019 14:01:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=wszUFdjBKL 1tQG551NHPU6ZswOwthxFPwttF4AJT2ws=; b=XWWDGyk7s/GcknDbv+SNsffnI1 hztD//T6cVeRmp4xBbOxrEmhxiayCsK1rKLbo9brJL5ay8KF/mV8UtRbCzIYcTQk Ds8Ru7z5ea8vNPmn8BdqPMSPf6QinOUXoW/fcCN8YGQ5LDnECebkVpS0RSmivl+p wKb2dpf8dSCuuN9i4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=wszUFdjBKL1tQG551NHPU6ZswOwthxFPwttF4AJT2ws=; b=7FNVtg5c 3tpbuavDF9Y+4lKq0S04QAWxyiZ3btQc79HxNtIIqUp5YlH2HnhREya9bMxuPrvJ 3WF+os3CAsPB+6F5mVVFcVB1OgjO5lzfiB4JarKLqSPBumMwqPH6JbZwV5SH2aFp 4NvO4e9Z5JndylsXD1NaQ89Rhhb/8mbu6A6I9j+gco3mlroPO/H7quN1OF8/fY9n K9utOXTSmwfdIRMAbQhyG9Et/mSK610MbzL152lndsBW/sfcSDhg/ctY95wYwn6l L5gE1AW1H0UIXDsnLjyRN15BDErnJeLcjGH3mRlWPUmXJODdV5TCkqWhl0JEu6z0 /Llt9wj+OaN4Bw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtdekgdduvddvucdltddurdegtdelrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhht necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs sehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfedrudekgeenuc frrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthen ucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DAEFF10319; Thu, 21 Feb 2019 14:01:35 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Thu, 21 Feb 2019 20:01:24 +0100 Message-Id: <20190221190125.24140-2-thomas@monjalon.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190221190125.24140-1-thomas@monjalon.net> References: <20190221190125.24140-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 1/2] bus/vdev: fix debug message on probing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list 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 Reviewed-by: Rami Rosen Reviewed-by: Andrew Rybchenko --- 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;