From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 980393770 for ; Wed, 9 Nov 2016 06:25:50 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP; 08 Nov 2016 21:25:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,612,1473145200"; d="scan'208";a="29229571" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga004.jf.intel.com with ESMTP; 08 Nov 2016 21:25:48 -0800 Date: Wed, 9 Nov 2016 13:26:38 +0800 From: Yuanhan Liu To: David Marchand Cc: stable@dpdk.org Message-ID: <20161109052638.GL12283@yliu-dev.sh.intel.com> References: <1478463944-13964-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1478463944-13964-1-git-send-email-david.marchand@6wind.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-stable] [PATCH] ethdev: fix vendor id in debug message X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 05:25:51 -0000 Applied to dpdk-stable branch 16.07. Thanks. --yliu On Sun, Nov 06, 2016 at 09:25:44PM +0100, David Marchand wrote: > Fixes: af75078fece3 ("first public release") > > Signed-off-by: David Marchand > --- > > For dpdk-stable. > > Cherry-picked from 10313a4699ec ("ethdev: fix vendor id in debug message"). > The only issue was in the pci_drv->name context that changed in master. > > --- > lib/librte_ether/rte_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c > index cc77e90..a5b42aa 100644 > --- a/lib/librte_ether/rte_ethdev.c > +++ b/lib/librte_ether/rte_ethdev.c > @@ -289,7 +289,7 @@ rte_eth_dev_init(struct rte_pci_driver *pci_drv, > if (diag == 0) > return 0; > > - RTE_PMD_DEBUG_TRACE("driver %s: eth_dev_init(vendor_id=0x%u device_id=0x%x) failed\n", > + RTE_PMD_DEBUG_TRACE("driver %s: eth_dev_init(vendor_id=0x%x device_id=0x%x) failed\n", > pci_drv->name, > (unsigned) pci_dev->id.vendor_id, > (unsigned) pci_dev->id.device_id); > -- > 2.7.4