<p><a href="https://gerrit.osmocom.org/10328">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/10328/1/src/gsm/gsm48_utils.c">File src/gsm/gsm48_utils.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/10328/1/src/gsm/gsm48_utils.c@52">Patch Set #1, Line 52:</a> <code style="font-family:monospace,monospace">      gh->proto_discr = pdisc | (tid << 4);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">what if "pdisc" accidentially contains some bits in the lower nibble?  I think it's safer to add a ( […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yep, makes sense...</p><p style="white-space: pre-wrap; word-wrap: break-word;">But after looking at some other messages, which may have<br>no transaction ID, I think it would be more flexible<br>to leave it up to caller, i.e. accept a single value<br>instead of separate pdisc and tid...</p><p style="white-space: pre-wrap; word-wrap: break-word;">What do you think?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10328">change 10328</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/10328"/><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: I8a045efe8335d83fcbe8d43eb180972e3b1d9dda </div>
<div style="display:none"> Gerrit-Change-Number: 10328 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 05 Aug 2018 11:21:28 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>