summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-01-16 17:29:29 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:22:34 +0000
commit0c1d660263fcf652fc45cd5b608f37ab15918065 (patch)
tree1334f33eba8dfa5dd6440e633a86086e131fda10
parent433bc3eed36706e6335b11b4eb44d2f96067404a (diff)
device/pci_rom.c: Use __func__
Change-Id: I24c40d511eeaa5073acd2b47b20b4ec2f85bb69e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49545 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
-rw-r--r--src/device/pci_rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index 4224c651f3..94452433fc 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -207,7 +207,7 @@ pci_rom_acpi_fill_vfct(const struct device *device, acpi_vfct_t *vfct_struct,
if (!rom)
rom = pci_rom_probe(device);
if (!rom) {
- printk(BIOS_ERR, "pci_rom_acpi_fill_vfct failed\n");
+ printk(BIOS_ERR, "%s failed\n", __func__);
return current;
}