23/06/2017 20:20, Daniel Verkamp:
> Some PCI vendor and device IDs have leading zeros.
>
> Signed-off-by: Daniel Verkamp
> ---
> --- a/lib/librte_eal/common/include/rte_pci.h
> +++ b/lib/librte_eal/common/include/rte_pci.h
> @@ -68,6 +68,9 @@ const char *pci_get_sysfs_path(void);
> /** Short for
Some PCI vendor and device IDs have leading zeros.
Signed-off-by: Daniel Verkamp
---
v2: added #define for format string, use %.4 style and PRIx16
lib/librte_eal/common/eal_common_pci.c | 8
lib/librte_eal/common/include/rte_pci.h | 3 +++
2 files changed, 7 insertions(+), 4 deletion
2 matches
Mail list logo