[coreboot-gerrit] Change in coreboot[master]: soc/amd/common/def_callouts.c: Prefer using '"%s...", __func__'
Richard Spiegel (Code Review)
gerrit at coreboot.org
Tue Oct 23 23:34:55 CEST 2018
Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/29246
Change subject: soc/amd/common/def_callouts.c: Prefer using '"%s...", __func__'
......................................................................
soc/amd/common/def_callouts.c: Prefer using '"%s...", __func__'
In function agesa_GfxGetVbiosImage(), the function name is used in a print
string. Use __func__ instead.
BUG=b:117642170
TEST=Build grunt.
Change-Id: I95a042bd95cc729305a8a008e3bb464f60c2668d
Signed-off-by: Richard Spiegel <richard.spiegel at silverbackltd.com>
---
M src/soc/amd/common/block/pi/def_callouts.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/29246/1
diff --git a/src/soc/amd/common/block/pi/def_callouts.c b/src/soc/amd/common/block/pi/def_callouts.c
index d136084..2da00cb 100644
--- a/src/soc/amd/common/block/pi/def_callouts.c
+++ b/src/soc/amd/common/block/pi/def_callouts.c
@@ -152,8 +152,8 @@
pVbiosImageInfo->ImagePtr = cbfs_boot_map_with_leak(
"pci"CONFIG_VGA_BIOS_ID".rom",
CBFS_TYPE_OPTIONROM, NULL);
- printk(BIOS_DEBUG, "agesa_GfxGetVbiosImage: IMGptr=%p\n",
- pVbiosImageInfo->ImagePtr);
+ printk(BIOS_DEBUG, "%s: IMGptr=%p\n", __func__,
+ pVbiosImageInfo->ImagePtr);
return pVbiosImageInfo->ImagePtr ? AGESA_SUCCESS : AGESA_WARNING;
}
--
To view, visit https://review.coreboot.org/29246
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I95a042bd95cc729305a8a008e3bb464f60c2668d
Gerrit-Change-Number: 29246
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel at silverbackltd.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181023/3032237f/attachment.html>
More information about the coreboot-gerrit
mailing list