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:
Paul Menzel 2022-09-06 08:25:28 +02:00 committed by Martin Roth
parent a16ed34638
commit d579d80d75
1 changed files with 4 additions and 4 deletions

View File

@ -409,8 +409,8 @@ static void configure_adjustable_base(const struct device *dev,
int max_requested_bits = __fls64(size_mask);
if (max_requested_bits > CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS) {
printk(BIOS_WARNING, "WARNING: Device %s requests a BAR with"
"%u bits of address space, which coreboot is not"
"configured to hand out, truncating to %u bits\n",
" %u bits of address space, which coreboot is not"
" configured to hand out, truncating to %u bits\n",
dev_path(dev), 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) {
printk(BIOS_ERR, "ERROR: Resizable BAR requested"
"above 32 bits, but PCI function reported a"
"32-bit BAR.");
" above 32 bits, but PCI function reported a"
" 32-bit BAR.");
return;
}