<p><a href="https://review.coreboot.org/27727">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/27727/2/src/security/tpm/tspi/tspi.c">File src/security/tpm/tspi/tspi.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/27727/2/src/security/tpm/tspi/tspi.c@181">Patch Set #2, Line 181:</a> <code style="font-family:monospace,monospace">uint32_t tpm_extend_pcr(const char *name, int pcr, uint8_t *digest,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">i'd prefer "const char *name" to be the last argument, as it's only required for logging.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/27727/2/src/security/tpm/tspi/tspi.c@195">Patch Set #2, Line 195:</a> <code style="font-family:monospace,monospace">          printk(BIOS_ERR, "ERROR: Couldn't creat TCPA log entry\n");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">create</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/27727/2/src/security/vboot/secdata_tpm.c">File src/security/vboot/secdata_tpm.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/27727/2/src/security/vboot/secdata_tpm.c@83">Patch Set #2, Line 83:</a> <code style="font-family:monospace,monospace">           return tpm_extend_pcr("GBB flags", pcr, buffer, size);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">do you want to use defines for the TCPA log entries in a public header ?</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/27727">change 27727</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/27727"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I22b1aa8da1a95380c39715727615ce5ce4c9443f </div>
<div style="display:none"> Gerrit-Change-Number: 27727 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-CC: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 30 Jul 2018 07:04:24 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>