diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-10-23 14:34:12 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-10-25 16:54:39 +0000 |
commit | de332f35da72814722c053ae591b8dace0d54169 (patch) | |
tree | fea514037ca5312088bb5377b83a3f808bf7257e /src/soc/amd/common/block | |
parent | bb49bfce679950a8e8a5eb14c0d90af4b3df3e98 (diff) |
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@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/29246
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r-- | src/soc/amd/common/block/pi/def_callouts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/pi/def_callouts.c b/src/soc/amd/common/block/pi/def_callouts.c index 27d4b0b552..60bfad1f3a 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 @@ AGESA_STATUS agesa_GfxGetVbiosImage(UINT32 Func, UINTN FchData, 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; } |