<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/12860">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12860/1/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/12860/1/include/osmocom/gsm/gsup.h@178">Patch Set #1, Line 178:</a> <code style="font-family:monospace,monospace">  OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_REQUEST               = 0b001100100,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">These are all 9 bit long - typo?<br>osmo_gsup_{en,de}code all assume 8-bit message types.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Just continue with 0b001101xx?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12860/1/src/gsm/gsup_handover.c">File src/gsm/gsup_handover.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/12860/1/src/gsm/gsup_handover.c@2">Patch Set #1, Line 2:</a> <code style="font-family:monospace,monospace"> * (C) 2019 by Oliver Smith <osmith@sysmocom.de></code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Last I heard copyright should be assigned like this:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> * (C) 2019 by sysmocom - s.f.m.c. GmbH<br> * Author: Oliver Smith <osmith@sysmocom.de><br> * All Rights Reserved</pre><p style="white-space: pre-wrap; word-wrap: break-word;">Including<br>SPDX-License-Identifier: GPL-2.0+<br>would also be nice.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12860/1/src/gsm/gsup_handover.c@46">Patch Set #1, Line 46:</a> <code style="font-family:monospace,monospace">     /* Tag and total length */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Should we check if there's enough space in msg before encoding?<br>Then returning int in this function would make more sense. :-)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12860">change 12860</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/12860"/><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: Ic00b0601eacff6d72927cea51767801142ee75db </div>
<div style="display:none"> Gerrit-Change-Number: 12860 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@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: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 08 Feb 2019 11:57:46 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>