summaryrefslogtreecommitdiff
path: root/src/device/pci_device.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-09 15:05:23 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-10 21:31:18 +0000
commitaba1c945cd44332521df49228b883c7081723812 (patch)
tree4b0c2c61ba4f222ebe8b48e41c0b038ad0ffd873 /src/device/pci_device.c
parent1d3c2e65724ed92eeef723c1acdc86ba91cbd682 (diff)
/: Remove "ERROR: "/"WARNING: " prefixes from log messages
It is no longer necessary to explicitly add "ERROR: "/"WARNING: " in front of every BIOS_ERR/BIOS_WARN message. Change-Id: I22ee6ae15c3d3a848853c5460b3b3c1795adf2f5 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69405 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r--src/device/pci_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 70af9c558a..16c31ea221 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -408,7 +408,7 @@ 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"
+ printk(BIOS_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",
dev_path(dev), max_requested_bits,
@@ -417,7 +417,7 @@ 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"
+ printk(BIOS_ERR, "Resizable BAR requested"
" above 32 bits, but PCI function reported a"
" 32-bit BAR.");
return;