<p>Richard Spiegel has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/29154">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/stoneyridge/smi.c :Prefer using '"%s...", __func__'<br><br>In function smm_setup_structures(), the function name used in a print string.<br>Use __func__ instead.<br><br>BUG=b:117642170<br>TEST=Build grunt.<br><br>Change-Id: Icac5ea997289ef75fb246a09715cbca4442a57f4<br>Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com><br>---<br>M src/soc/amd/stoneyridge/smi.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/29154/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/amd/stoneyridge/smi.c b/src/soc/amd/stoneyridge/smi.c</span><br><span>index 1d2dbc8..d21c70e 100644</span><br><span>--- a/src/soc/amd/stoneyridge/smi.c</span><br><span>+++ b/src/soc/amd/stoneyridge/smi.c</span><br><span>@@ -25,7 +25,7 @@</span><br><span> </span><br><span> void smm_setup_structures(void *gnvs, void *tcg, void *smi1)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-        printk(BIOS_DEBUG, "smm_setup_structures STUB!!!\n");</span><br><span style="color: hsl(120, 100%, 40%);">+       printk(BIOS_DEBUG, "%s STUB!!!\n", __func__);</span><br><span> }</span><br><span> </span><br><span> /** Set the EOS bit and enable SMI generation from southbridge */</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/29154">change 29154</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/29154"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Icac5ea997289ef75fb246a09715cbca4442a57f4 </div>
<div style="display:none"> Gerrit-Change-Number: 29154 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Spiegel <richard.spiegel@silverbackltd.com> </div>