/: 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>
This commit is contained in:
Elyes Haouas
2022-11-09 15:05:23 +01:00
committed by Felix Held
parent 1d3c2e6572
commit aba1c945cd
16 changed files with 32 additions and 32 deletions

View File

@ -158,7 +158,7 @@ static void read_resources(struct device *dev)
mmconf_resource(dev, idx++);
if (!hob) {
printk(BIOS_ERR, "Error: %s incomplete because no HOB list was found\n",
printk(BIOS_ERR, "%s incomplete because no HOB list was found\n",
__func__);
return;
}
@ -180,7 +180,7 @@ static void read_resources(struct device *dev)
else if (res->type == EFI_RESOURCE_MEMORY_RESERVED)
reserved_ram_resource_kb(dev, idx++, res->addr / KiB, res->length / KiB);
else
printk(BIOS_ERR, "Error: failed to set resources for type %d\n",
printk(BIOS_ERR, "Failed to set resources for type %d\n",
res->type);
}