mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 11:25:30 +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);
|
||||
if (bus_to_scan[secondary_bus] != BUS_SCAN_SKIP) {
|
||||
pr_err("%s, bus %d may be downstream of different PCI bridges",
|
||||
secondary_bus);
|
||||
__func__, secondary_bus);
|
||||
} else {
|
||||
bus_to_scan[secondary_bus] = BUS_SCAN_PENDING;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user