<p><a href="https://review.coreboot.org/28719">View Change</a></p><p>22 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c">File src/southbridge/amd/pi/hudson/spi.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/28719/1/src/southbridge/amd/pi/hudson/spi.c@75">Patch Set #1, Line 75:</a> <code style="font-family:monospace,monospace">       while ((spi_read(SPI_REG_CNTRL02) & CNTRL02_EXEC_OPCODE) &&</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">trailing statements should be on next line</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@117">Patch Set #1, Line 117:</a> <code style="font-family:monospace,monospace">     for (count = 0; count < bytesout; count++, dout++) {</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@126">Patch Set #1, Line 126:</a> <code style="font-family:monospace,monospace">        for (count = 0; count < bytesout; count++) {</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@130">Patch Set #1, Line 130:</a> <code style="font-family:monospace,monospace">        for (count = 0; count < bytesin; count++, din++) {</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@139">Patch Set #1, Line 139:</a> <code style="font-family:monospace,monospace">  if (!IS_ENABLED (CONFIG_HUDSON_IMC_FWM))</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@148">Patch Set #1, Line 148:</a> <code style="font-family:monospace,monospace">       if (!IS_ENABLED (CONFIG_HUDSON_IMC_FWM))</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@162">Patch Set #1, Line 162:</a> <code style="font-family:monospace,monospace">        .xfer_vector = xfer_vectors,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@162">Patch Set #1, Line 162:</a> <code style="font-family:monospace,monospace">        .xfer_vector = xfer_vectors,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@163">Patch Set #1, Line 163:</a> <code style="font-family:monospace,monospace">        .max_xfer_size = AMD_SB_SPI_TX_LEN,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@163">Patch Set #1, Line 163:</a> <code style="font-family:monospace,monospace">        .max_xfer_size = AMD_SB_SPI_TX_LEN,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@164">Patch Set #1, Line 164:</a> <code style="font-family:monospace,monospace">        .flags = SPI_CNTRLR_DEDUCT_CMD_LEN,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@164">Patch Set #1, Line 164:</a> <code style="font-family:monospace,monospace">        .flags = SPI_CNTRLR_DEDUCT_CMD_LEN,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@168">Patch Set #1, Line 168:</a> <code style="font-family:monospace,monospace">        {</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@168">Patch Set #1, Line 168:</a> <code style="font-family:monospace,monospace">        {</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@169">Patch Set #1, Line 169:</a> <code style="font-family:monospace,monospace">                .ctrlr = &spi_ctrlr,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@169">Patch Set #1, Line 169:</a> <code style="font-family:monospace,monospace">                .ctrlr = &spi_ctrlr,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@170">Patch Set #1, Line 170:</a> <code style="font-family:monospace,monospace">                .bus_start = 0,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@170">Patch Set #1, Line 170:</a> <code style="font-family:monospace,monospace">                .bus_start = 0,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@171">Patch Set #1, Line 171:</a> <code style="font-family:monospace,monospace">                .bus_end = 0,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@171">Patch Set #1, Line 171:</a> <code style="font-family:monospace,monospace">                .bus_end = 0,</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@172">Patch Set #1, Line 172:</a> <code style="font-family:monospace,monospace">        },</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/28719/1/src/southbridge/amd/pi/hudson/spi.c@172">Patch Set #1, Line 172:</a> <code style="font-family:monospace,monospace">        },</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">please, no spaces at the start of a line</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/28719">change 28719</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/28719"/><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: Icc6feb433a19337e09fc394cbf30288f53b195dd </div>
<div style="display:none"> Gerrit-Change-Number: 28719 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michał Żygowski <michal.zygowski@3mdeb.com> </div>
<div style="display:none"> Gerrit-CC: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 24 Sep 2018 08:26:47 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>