patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: David Marchand <david.marchand@6wind.com>
Cc: stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH] ethdev: fix vendor id in debug message
Date: Wed, 9 Nov 2016 13:26:38 +0800	[thread overview]
Message-ID: <20161109052638.GL12283@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <1478463944-13964-1-git-send-email-david.marchand@6wind.com>

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 <david.marchand@6wind.com>
> ---
> 
> 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

           reply	other threads:[~2016-11-09  5:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1478463944-13964-1-git-send-email-david.marchand@6wind.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161109052638.GL12283@yliu-dev.sh.intel.com \
    --to=yuanhan.liu@linux.intel.com \
    --cc=david.marchand@6wind.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).