<p>Patch set 3:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919/3/src/bts.cpp">File src/bts.cpp:</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://gerrit.osmocom.org/c/osmo-pcu/+/20919/3/src/bts.cpp@539">Patch Set #3, Line 539:</a> <code style="font-family:monospace,monospace">uint8_t</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">TFI is a value in range 0..31, so 32 unique values for each timeslot => 8 * 32 == 256.<br>256 > UINT8_MAX, so maybe unsigned int would be better?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919/3/src/bts.cpp@548">Patch Set #3, Line 548:</a> <code style="font-family:monospace,monospace">8</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">cosmetic: ARRAY_SIZE(trx->pdch)?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919/3/src/bts.cpp@557">Patch Set #3, Line 557:</a> <code style="font-family:monospace,monospace">(uint8_t)-1</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">So it's basically 0xff? Let's maybe add a #define?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919/3/src/bts.cpp@562">Patch Set #3, Line 562:</a> <code style="font-family:monospace,monospace">uint32_t</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">cosmetic: sizeof(mask) would be cleaner</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919/3/src/bts.cpp@562">Patch Set #3, Line 562:</a> <code style="font-family:monospace,monospace">*8 ;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">coding style</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/20919">change 20919</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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://gerrit.osmocom.org/c/osmo-pcu/+/20919"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iccfc8acfbfdc258ed16cc5af01f12b376fe73b72 </div>
<div style="display:none"> Gerrit-Change-Number: 20919 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 27 Oct 2020 13:10:15 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>