device/pci_device: Add missing spaces to log messages
Add the missing spaces to two log message, like the one below. WARNING: Device PCI: 03:00.0 requests a BAR with34 bits of address space, which coreboot is notconfigured to hand out, truncating to 29 bits Change-Id: If933d8fb0db5b58ff12f043cc73172a3f6ffc624 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67370 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
a16ed34638
commit
d579d80d75
|
@ -409,8 +409,8 @@ static void configure_adjustable_base(const struct device *dev,
|
||||||
int max_requested_bits = __fls64(size_mask);
|
int max_requested_bits = __fls64(size_mask);
|
||||||
if (max_requested_bits > CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS) {
|
if (max_requested_bits > CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS) {
|
||||||
printk(BIOS_WARNING, "WARNING: Device %s requests a BAR with"
|
printk(BIOS_WARNING, "WARNING: Device %s requests a BAR with"
|
||||||
"%u bits of address space, which coreboot is not"
|
" %u bits of address space, which coreboot is not"
|
||||||
"configured to hand out, truncating to %u bits\n",
|
" configured to hand out, truncating to %u bits\n",
|
||||||
dev_path(dev), max_requested_bits,
|
dev_path(dev), max_requested_bits,
|
||||||
CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS);
|
CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS);
|
||||||
max_requested_bits = CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS;
|
max_requested_bits = CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS;
|
||||||
|
@ -418,8 +418,8 @@ static void configure_adjustable_base(const struct device *dev,
|
||||||
|
|
||||||
if (!(res->flags & IORESOURCE_PCI64) && max_requested_bits > 32) {
|
if (!(res->flags & IORESOURCE_PCI64) && max_requested_bits > 32) {
|
||||||
printk(BIOS_ERR, "ERROR: Resizable BAR requested"
|
printk(BIOS_ERR, "ERROR: Resizable BAR requested"
|
||||||
"above 32 bits, but PCI function reported a"
|
" above 32 bits, but PCI function reported a"
|
||||||
"32-bit BAR.");
|
" 32-bit BAR.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue