<p><a href="https://gerrit.osmocom.org/13701">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13701/1/src/common/oml.c">File src/common/oml.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/13701/1/src/common/oml.c@272">Patch Set #1, Line 272:</a> <code style="font-family:monospace,monospace">          len = handle_attrs_bts(resp, (const struct gsm_bts *) obj, attr, attr_len);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">If you know it's going to be BTS, then just pass mo->bts and avoid nasty castings.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13701/1/src/common/oml.c@275">Patch Set #1, Line 275:</a> <code style="font-family:monospace,monospace">              len = handle_attrs_trx(resp, (const struct gsm_bts_trx *) obj, attr, attr_len);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Are yousure this is correct? gsm_objclass2obj returns &trx->bb_transc here, not trx.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13701">change 13701</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/13701"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Icb1ee75d4bf680deb6365288d8c2053816a12217 </div>
<div style="display:none"> Gerrit-Change-Number: 13701 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 18 Apr 2019 22:48:57 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>