<p>Patch set 7:<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-bsc/+/21084">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21084/7/src/osmo-bsc/abis_rsl.c">File src/osmo-bsc/abis_rsl.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/osmo-bsc/+/21084/7/src/osmo-bsc/abis_rsl.c@462">Patch Set #7, Line 462:</a> <code style="font-family:monospace,monospace">static void put_rsl_ie_osmo_rep_acch_cap(struct gsm_lchan *lchan,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(function name reads like it always puts an RSL IE in a msgb, but it first decides on whether that should happen, maybe acch_cap_config() or something?)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21084/7/src/osmo-bsc/abis_rsl.c@468">Patch Set #7, Line 468:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">if (!lchan->conn)<br>          return;<br><br>     bts = conn_get_bts(lchan->conn);<br>   OSMO_ASSERT(bts);<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">instead of all this, just say</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> bts = lchan->ts->trx->bts;</pre><p style="white-space: pre-wrap; word-wrap: break-word;">read conn_get_bts() for the reason; also no need to assert presence of the BTS, an lchan is guaranteed to always have a bts backpointer</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21084/7/src/osmo-bsc/abis_rsl.c@495">Patch Set #7, Line 495:</a> <code style="font-family:monospace,monospace">                     (uint8_t *) & cap);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(unusual spaces)</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21084/7/src/osmo-bsc/gsm_08_08.c">File src/osmo-bsc/gsm_08_08.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/osmo-bsc/+/21084/7/src/osmo-bsc/gsm_08_08.c@609">Patch Set #7, Line 609:</a> <code style="font-family:monospace,monospace">            memset(&conn->cm3, 0, sizeof(conn->cm3));</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(could just do  'conn->cm3 = {};')</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21084">change 21084</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-bsc/+/21084"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I39ae439d05562b35b2e47774dc92f8789fea1a57 </div>
<div style="display:none"> Gerrit-Change-Number: 21084 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 17 Nov 2020 23:07:48 +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>