<p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23314">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/osmo-pcu/+/23314/3/src/bts.h">File src/bts.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/osmo-pcu/+/23314/3/src/bts.h@278">Patch Set #3, Line 278:</a> <code style="font-family:monospace,monospace">TODO: change the number to unsigned</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Can this TODO be removed now?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23314/3/src/bts.cpp">File src/bts.cpp:</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/osmo-pcu/+/23314/3/src/bts.cpp@247">Patch Set #3, Line 247:</a> <code style="font-family:monospace,monospace">(uint32_t)-1</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Let's use 0xffffffff or better a macro for that.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23314/3/src/bts.cpp@335">Patch Set #3, Line 335:</a> <code style="font-family:monospace,monospace">bts_current_frame_number(bts) == 0</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Are you sure this is correct? AFAICS, you're now using 0xffffffff as 'not set'.<br>I am asking because this (IMHO, useless) function basically returns bts->cur_fn.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23314/3/tests/tbf/TbfTest.err">File tests/tbf/TbfTest.err:</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/osmo-pcu/+/23314/3/tests/tbf/TbfTest.err@1519">Patch Set #3, Line 1519:</a> <code style="font-family:monospace,monospace">Detected FN jump! 2654167 -> 2654270</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Is this also expected?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/23314">change 23314</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/osmo-pcu/+/23314"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I29fb27981597edc69abb976049ba41aa840488cb </div>
<div style="display:none"> Gerrit-Change-Number: 23314 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 12 Mar 2021 13:47:46 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>