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>
This commit is contained in:
parent
bb49bfce67
commit
de332f35da
|
@ -152,7 +152,7 @@ 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",
|
||||
printk(BIOS_DEBUG, "%s: IMGptr=%p\n", __func__,
|
||||
pVbiosImageInfo->ImagePtr);
|
||||
return pVbiosImageInfo->ImagePtr ? AGESA_SUCCESS : AGESA_WARNING;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue