bus/pci: fix device ID print
PATCH 1/1 bus/pci: fix device ID print
This patch fixes the issue where device id first 0 does not print.
Fixes e4f27af0f448 ("bus/pci: reduce boot-up logs to absolute minimum")
Signed-off-by Qiming Yang <[email protected]>
--- drivers/bus/pci/pci_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/pci/pci_common.c +1 -1
@@ -304,7 +304,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr, } } -RTE_LOG (INFO ,EAL ,"Probe PCI driver: %s (%x:%x) device: " PCI_PRI_FMT " (socket %i)\n" , +RTE_LOG (INFO ,EAL ,"Probe PCI driver: %s (%x:%04x) device: " PCI_PRI_FMT " (socket %i)\n" , dr->driver.name, dev->id.vendor_id, dev->id.device_id, loc->domain, loc->bus, loc->devid, loc->function, dev->device.numa_node);
Signature · 1 line
2.25.1
Thomas Monjalon
Applied13/09/2023 10:23, Qiming Yang:
Quoted 6 lines
This patch fixes the issue where device id first 0 does not print.
Fixes e4f27af0f448 ("bus/pci: reduce boot-up logs to absolute minimum")Signed-off-by Qiming Yang <[email protected]>
Applied, thanks.