<p><a href="https://review.coreboot.org/29563">View Change</a></p><p>9 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/29563/1/src/arch/x86/car.ld">File src/arch/x86/car.ld:</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/29563/1/src/arch/x86/car.ld@35">Patch Set #1, Line 35:</a> <code style="font-family:monospace,monospace">         * Needs to be transfered until CBMEM is available</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">'transfered' may be misspelled - perhaps 'transferred'?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/29563/1/src/include/memlayout.h">File src/include/memlayout.h:</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/29563/1/src/include/memlayout.h@168">Patch Set #1, Line 168:</a> <code style="font-family:monospace,monospace">#define VBOOT2_TPM_LOG(addr, size) \</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Macros with multiple statements should be enclosed in a do - while loop</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29563/1/src/include/memlayout.h@168">Patch Set #1, Line 168:</a> <code style="font-family:monospace,monospace">#define VBOOT2_TPM_LOG(addr, size) \</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">macros should not use a trailing semicolon</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/29563/1/src/security/tpm/tspi/log.c">File src/security/tpm/tspi/log.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/29563/1/src/security/tpm/tspi/log.c@31">Patch Set #1, Line 31:</a> <code style="font-family:monospace,monospace">            tclt = (struct tcpa_table*)_vboot2_tpm_log;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"(foo*)" should be "(foo *)"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29563/1/src/security/tpm/tspi/log.c@70">Patch Set #1, Line 70:</a> <code style="font-family:monospace,monospace">                             snprintf((char *)&(hash[j * 2]), tce->digest_length, "%02x", tce->digest[j]);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29563/1/src/security/tpm/tspi/log.c@72">Patch Set #1, Line 72:</a> <code style="font-family:monospace,monospace">                        snprintf(log_string, TCPA_LOG_STRING_LENGTH, " %u %s 00 [%s]\n",</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/29563/1/src/security/vboot/vboot_crtm.c">File src/security/vboot/vboot_crtm.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/29563/1/src/security/vboot/vboot_crtm.c@162">Patch Set #1, Line 162:</a> <code style="font-family:monospace,monospace">  const struct tcpa_table *tclt = (struct tcpa_table*)_vboot2_tpm_log;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"(foo*)" should be "(foo *)"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29563/1/src/security/vboot/vboot_crtm.c@165">Patch Set #1, Line 165:</a> <code style="font-family:monospace,monospace">              for (i = 0; i < tclt->num_entries; i++) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">braces {} are not necessary for single statement blocks</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29563/1/src/security/vboot/vboot_crtm.c@166">Patch Set #1, Line 166:</a> <code style="font-family:monospace,monospace">                    tcpa_log_add_table_entry(tclt->entries[i].name, tclt->entries[i].pcr, tclt->entries[i].digest, tclt->entries[i].digest_length);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/29563">change 29563</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/29563"/><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: Ic93133531b84318f48940d34bded48cbae739c44 </div>
<div style="display:none"> Gerrit-Change-Number: 29563 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki@gmail.com> </div>
<div style="display:none"> Gerrit-CC: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 09 Nov 2018 23:39:32 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>