<p><a href="https://gerrit.osmocom.org/12410">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/12410/2/include/osmocom/gsm/gsup.h">File include/osmocom/gsm/gsup.h:</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/12410/2/include/osmocom/gsm/gsup.h@102">Patch Set #2, Line 102:</a> <code style="font-family:monospace,monospace">OSMO_GSUP_IEI_END_MARKER</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">We usually prefix the end marker by '_' ;)</p><p style="white-space: pre-wrap; word-wrap: break-word;">And BTW, we have some gaps in IEI values (e.g. 0x35 ... 0x40).<br>Any warranties that this item would be 0x47, and not e.g. 0x36?</p><p style="white-space: pre-wrap; word-wrap: break-word;">Of course, 'gsup' test would fail, but we need to be sure.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12410/2/tests/gsup/gsup_test.c">File tests/gsup/gsup_test.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/12410/2/tests/gsup/gsup_test.c@404">Patch Set #2, Line 404:</a> <code style="font-family:monospace,monospace"><= OSMO_GSUP_IEI_END_MARKER - 1</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Cosmetic: you could avoid this arithmetic:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  OSMO_ASSERT(... < OSMO_GSUP_IEI_END_MARKER);</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12410">change 12410</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/12410"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I2aab7245e209f0ebd2f33a83d4d181dd3339cb17 </div>
<div style="display:none"> Gerrit-Change-Number: 12410 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </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-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 21 Dec 2018 11:41:59 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>