<p>Patch set 1:<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/c/libosmocore/+/20926">View Change</a></p><p>6 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20926/1/include/osmocom/gprs/gprs_ns2.h">File include/osmocom/gprs/gprs_ns2.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/libosmocore/+/20926/1/include/osmocom/gprs/gprs_ns2.h@39">Patch Set #1, Line 39:</a> <code style="font-family:monospace,monospace">const char *gprs_ns2_prim_str(unsigned int cause);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Usually, such functions are defined right in the header as 'static inline'.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20926/1/src/gb/gprs_ns2.c">File src/gb/gprs_ns2.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/libosmocore/+/20926/1/src/gb/gprs_ns2.c@207">Patch Set #1, Line 207:</a> <code style="font-family:monospace,monospace">       { NS</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">i guess those are straight from the spec?  I find it a bit inconsistent that Virtual-Circuit is expa […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Ack</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20926/1/src/gb/gprs_ns2.c@212">Patch Set #1, Line 212:</a> <code style="font-family:monospace,monospace">    { NS_AFF_CAUSE_SNS_FAILURE,     "NSE SNS failure" },</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Not terminated.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20926/1/src/gb/gprs_ns2.c@218">Patch Set #1, Line 218:</a> <code style="font-family:monospace,monospace">        enum ns_cause _cause = cause;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Wait, how is this supposed to work...?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20926/1/src/gb/gprs_ns2.c@225">Patch Set #1, Line 225:</a> <code style="font-family:monospace,monospace">  { PRIM_NS_STATUS,       "STATUS" },</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Not terminated.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20926/1/src/gb/gprs_ns2.c@229">Patch Set #1, Line 229:</a> <code style="font-family:monospace,monospace">unsigned int</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Why not to use 'enum ns_cause' as type of the argument?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20926">change 20926</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/libosmocore/+/20926"/><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-Change-Id: Ibf610fbd929dddc4a4e235152447caff522d4eb2 </div>
<div style="display:none"> Gerrit-Change-Number: 20926 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 27 Oct 2020 07:50:34 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Comment-In-Reply-To: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>