<p style="white-space: pre-wrap; word-wrap: break-word;">I like the change in principle, but I think variable naming of the old code was more obvious than with the new code.</p><p>Patch set 1:<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/13708">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/13708/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/13708/1/src/common/oml.c@194">Patch Set #1, Line 194:</a> <code style="font-family:monospace,monospace">static inline int handle_attrs_trx(struct msgb *msg, const struct gsm_bts_trx *trx,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">in terms of naming, this could be 'out' or 'msg_out' or 'resp' to indicate clearly that it's the output/response message, and not the input message.  Alternatively, put a comment on top of the funciton to make it clear.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13708/1/src/common/oml.c@214">Patch Set #1, Line 214:</a> <code style="font-family:monospace,monospace">                 /* Push this tag to the list of unreported attributes */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">what are "unreported" attributes?  I think you can report somethng, but how can you un-report it again?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13708">change 13708</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/13708"/><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: I349447a43bce360f59e0c6b435906c65167d158b </div>
<div style="display:none"> Gerrit-Change-Number: 13708 </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: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 19 Apr 2019 15:58:39 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>