<p><a href="https://gerrit.osmocom.org/13006">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/13006/8/src/hlr.c">File src/hlr.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/13006/8/src/hlr.c@478">Patch Set #8, Line 478:</a> <code style="font-family:monospace,monospace">Cannot forward GSUP</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">All "GSUP message forwarding error" messages in this function look different. This one is missing IMSI. Let's unify the message format for all LOGP() calls, for example:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  "GSUP message (IMSI-%imsi, kind=%kind, type=%type) forwarding error: REASON"</pre><p style="white-space: pre-wrap; word-wrap: break-word;">This can be done using #define LOGP_GSUP(msg, fmt, ##args ...).</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13006/8/src/hlr.c@483">Patch Set #8, Line 483:</a> <code style="font-family:monospace,monospace">LOGL_NOTICE</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Let's rather use LOGL_INFO. GSUP message forwarding is an expected event, and may happen quite often, so there is no need to distract log reader's attention.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13006/8/src/hlr.c@494">Patch Set #8, Line 494:</a> <code style="font-family:monospace,monospace">gsup = NULL;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">The argument is defined as follows:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  *const* struct osmo_gsup_message *gsup,</pre><p style="white-space: pre-wrap; word-wrap: break-word;">so why do we need to forget this pointer?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13006">change 13006</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/13006"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ia4f345abc877baaf0a8f73b8988e6514d9589bf5 </div>
<div style="display:none"> Gerrit-Change-Number: 13006 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </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: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 11 Apr 2019 08:25:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>