mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 12:49:45 +00:00
hv: fix debug message format in 'init_pci_pdev_list'
To fix below err format: "%s" is used to output 'secondary_bus' with type of 'uint8_t' Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
parent
bde1d4b1bb
commit
d4f44bc7a6
@ -177,7 +177,7 @@ void init_pci_pdev_list(void)
|
|||||||
secondary_bus = (uint8_t)pci_pdev_read_cfg(pbdf, PCIR_SECBUS_1, 1U);
|
secondary_bus = (uint8_t)pci_pdev_read_cfg(pbdf, PCIR_SECBUS_1, 1U);
|
||||||
if (bus_to_scan[secondary_bus] != BUS_SCAN_SKIP) {
|
if (bus_to_scan[secondary_bus] != BUS_SCAN_SKIP) {
|
||||||
pr_err("%s, bus %d may be downstream of different PCI bridges",
|
pr_err("%s, bus %d may be downstream of different PCI bridges",
|
||||||
secondary_bus);
|
__func__, secondary_bus);
|
||||||
} else {
|
} else {
|
||||||
bus_to_scan[secondary_bus] = BUS_SCAN_PENDING;
|
bus_to_scan[secondary_bus] = BUS_SCAN_PENDING;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user