From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rami Rosen Subject: Re: [PATCH 1/2] bus/vdev: fix debug message on probing Date: Fri, 22 Feb 2019 07:06:57 +0200 Message-ID: References: <20190221190125.24140-1-thomas@monjalon.net> <20190221190125.24140-2-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, ferruh.yigit@intel.com To: Thomas Monjalon Return-path: Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by dpdk.org (Postfix) with ESMTP id EFB591D7 for ; Fri, 22 Feb 2019 06:07:07 +0100 (CET) Received: by mail-ed1-f68.google.com with SMTP id h58so749191edb.5 for ; Thu, 21 Feb 2019 21:07:07 -0800 (PST) In-Reply-To: <20190221190125.24140-2-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" Reviewed-by: Rami Rosen =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=94=D7=B3, 21 = =D7=91=D7=A4=D7=91=D7=A8=D7=B3 2019, 21:01, =D7=9E=D7=90=D7=AA Thomas Monja= lon =E2=80=8F< thomas@monjalon.net>: > 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 =3D 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 > >