[coreboot-gerrit] Change in coreboot[master]: soc/amd/stoneyridge/smi.c :Prefer using '"%s...", __func__'

Richard Spiegel (Code Review) gerrit at coreboot.org
Tue Oct 16 23:02:52 CEST 2018


Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/29154


Change subject: soc/amd/stoneyridge/smi.c :Prefer using '"%s...", __func__'
......................................................................

soc/amd/stoneyridge/smi.c :Prefer using '"%s...", __func__'

In function smm_setup_structures(), the function name used in a print string.
Use __func__ instead.

BUG=b:117642170
TEST=Build grunt.

Change-Id: Icac5ea997289ef75fb246a09715cbca4442a57f4
Signed-off-by: Richard Spiegel <richard.spiegel at silverbackltd.com>
---
M src/soc/amd/stoneyridge/smi.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/29154/1

diff --git a/src/soc/amd/stoneyridge/smi.c b/src/soc/amd/stoneyridge/smi.c
index 1d2dbc8..d21c70e 100644
--- a/src/soc/amd/stoneyridge/smi.c
+++ b/src/soc/amd/stoneyridge/smi.c
@@ -25,7 +25,7 @@
 
 void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
 {
-	printk(BIOS_DEBUG, "smm_setup_structures STUB!!!\n");
+	printk(BIOS_DEBUG, "%s STUB!!!\n", __func__);
 }
 
 /** Set the EOS bit and enable SMI generation from southbridge */

-- 
To view, visit https://review.coreboot.org/29154
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: Icac5ea997289ef75fb246a09715cbca4442a57f4
Gerrit-Change-Number: 29154
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/20181016/537f2053/attachment.html>


More information about the coreboot-gerrit mailing list