<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/14591">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://gerrit.osmocom.org/#/c/14591/1/src/osmo-bts-trx/trx_if.c">File src/osmo-bts-trx/trx_if.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://gerrit.osmocom.org/#/c/14591/1/src/osmo-bts-trx/trx_if.c@43">Patch Set #1, Line 43:</a> <code style="font-family:monospace,monospace">#include <osmocom/core/bit32gen.h></code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think you should include #include <osmocom/core/bits.h> instead.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14591/1/src/osmo-bts-trx/trx_if.c@617">Patch Set #1, Line 617:</a> <code style="font-family:monospace,monospace">     fn =  osmo_load32be(buf + 1);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Can we use array offsets instead of mixing them with pointer arithmetic?<br>fn =  osmo_load32be(&buf[1]);</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14591/1/src/osmo-bts-trx/trx_if.c@619">Patch Set #1, Line 619:</a> <code style="font-family:monospace,monospace"> toa256 = (int16_t) osmo_load16be(buf + 6);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">toa256 = (int16_t) osmo_load16be(&buf[6]);</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/14591">change 14591</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-bts/+/14591"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iec0d86f9be7243578ddc1ab322fc313cb5ac5d0b </div>
<div style="display:none"> Gerrit-Change-Number: 14591 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 26 Jun 2019 08:33:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>