<p>Patch set 16:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/11826">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/11826/10/include/osmocom/gsm/gsm0808.h">File include/osmocom/gsm/gsm0808.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/11826/10/include/osmocom/gsm/gsm0808.h@67">Patch Set #10, Line 67:</a> <code style="font-family:monospace,monospace">struct msgb *gsm0808_create_ass_ext(const struct gsm0808_channel_type *ct,</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Why? So far both ...2() and ..._ext() are widely used throughout the code. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">"ext" refers to "extended", while this is not something that the spec calls "extended" in any way. This is just a newer version of our API function, and for that the convention is (or should be) adding numbers.</p><p style="white-space: pre-wrap; word-wrap: break-word;">What if at some point some more IEs should be added, or some bug gets fixed? what do we call the next API function then, create_ass_ext_ext()?</p><p style="white-space: pre-wrap; word-wrap: break-word;">Use '2'.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c">File src/gsm/gsm0808.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/11826/16/src/gsm/gsm0808.c@424">Patch Set #16, Line 424:</a> <code style="font-family:monospace,monospace">/*! Create BSSMAP Assignment Request message, 3GPP TS 48.008 §3.2.1.1</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">especially if adding more comment, the initial summary line must end in a '.'</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c@425">Patch Set #16, Line 425:</a> <code style="font-family:monospace,monospace">  This is identical to gsm0808_create_ass(), but adds KC and LCLS IEs.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">lacks a '*'</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c@512">Patch Set #16, Line 512:</a> <code style="font-family:monospace,monospace">/*! Create BSSMAP Assignment Request message, 3GPP TS 48.008 §3.2.1.1</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11826">change 11826</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/11826"/><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: Id89765df3f8c12f55f73f1d7a9d90c8883eb3bba </div>
<div style="display:none"> Gerrit-Change-Number: 11826 </div>
<div style="display:none"> Gerrit-PatchSet: 16 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 30 Nov 2018 15:54:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>