[dpdk-stable] [PATCH] ethdev: fix vendor id in debug message
Yuanhan Liu
yuanhan.liu at linux.intel.com
Wed Nov 9 06:26:38 CET 2016
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 at 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
More information about the stable
mailing list