<p><a href="https://review.coreboot.org/22537">View Change</a></p><p>14 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c">File util/cbfstool/cbfstool.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/22537/5/util/cbfstool/cbfstool.c@344">Patch Set #5, Line 344:</a> <code style="font-family:monospace,monospace">static int add_second_bootblock(struct buffer *buffer,uint32_t *offset)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space required after that ',' (ctx:VxV)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@347">Patch Set #5, Line 347:</a> <code style="font-family:monospace,monospace"> char* new_data = (char*)malloc(bb_size);</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/22537/5/util/cbfstool/cbfstool.c@347">Patch Set #5, Line 347:</a> <code style="font-family:monospace,monospace"> char* new_data = (char*)malloc(bb_size);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"foo* bar" should be "foo *bar"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@349">Patch Set #5, Line 349:</a> <code style="font-family:monospace,monospace">      if (new_data == NULL){</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space required before the open brace '{'</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@353">Patch Set #5, Line 353:</a> <code style="font-family:monospace,monospace">   char* bb1_offset = new_data +</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"foo* bar" should be "foo *bar"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@355">Patch Set #5, Line 355:</a> <code style="font-family:monospace,monospace"> char* bb2_offset = new_data + (bb_size - buffer->size);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"foo* bar" should be "foo *bar"</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@356">Patch Set #5, Line 356:</a> <code style="font-family:monospace,monospace">    DEBUG ("bb1 offset = 0x%p, bb2 offset = 0x%p\n",</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space prohibited between function name and open parenthesis '('</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@410">Patch Set #5, Line 410:</a> <code style="font-family:monospace,monospace">         * topswap_size*2 bytes for bootblock to accomodate the second</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">'accomodate' may be misspelled - perhaps 'accommodate'?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@414">Patch Set #5, Line 414:</a> <code style="font-family:monospace,monospace">            if(add_second_bootblock(&buffer, &offset)){</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space required before the open brace '{'</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@414">Patch Set #5, Line 414:</a> <code style="font-family:monospace,monospace">              if(add_second_bootblock(&buffer, &offset)){</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space required before the open parenthesis '('</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@1341">Patch Set #5, Line 1341:</a> <code style="font-family:monospace,monospace">             "        [-j topswap-size (in hex)]                            "</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">code indent should use tabs where possible</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@1341">Patch Set #5, Line 1341:</a> <code style="font-family:monospace,monospace">             "        [-j topswap-size (in hex)]                            "</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">please, no spaces at the start of a line</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@1643">Patch Set #5, Line 1643:</a> <code style="font-family:monospace,monospace">                            switch (param.topswap_size){</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">switch and case should be at the same indent</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/22537/5/util/cbfstool/cbfstool.c@1643">Patch Set #5, Line 1643:</a> <code style="font-family:monospace,monospace">                               switch (param.topswap_size){</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space required before the open brace '{'</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/22537">change 22537</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/22537"/><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: I3e455dc8b7f54e55f2229491695cf4218d9cfef8 </div>
<div style="display:none"> Gerrit-Change-Number: 22537 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi@intel.com> </div>
<div style="display:none"> Gerrit-Reviewer: Aamir Bohra <aamir.bohra@intel.com> </div>
<div style="display:none"> Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org> </div>
<div style="display:none"> Gerrit-Reviewer: Duncan Laurie <dlaurie@chromium.org> </div>
<div style="display:none"> Gerrit-Reviewer: Furquan Shaikh <furquan@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Hannah Williams <hannah.williams@intel.com> </div>
<div style="display:none"> Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net> </div>
<div style="display:none"> Gerrit-Reviewer: Subrata Banik <subrata.banik@intel.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Reviewer: dhaval v sharma <dhaval.v.sharma@intel.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 29 May 2018 11:05:24 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>