<p style="white-space: pre-wrap; word-wrap: break-word;">Agree with Harald: what do we benefit from this change?<br>The current approach with union looks good to me, what's wrong with it?</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15613">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/15613/3/src/osmo-bts-oc2g/l1_if.h">File src/osmo-bts-oc2g/l1_if.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/15613/3/src/osmo-bts-oc2g/l1_if.h@37">Patch Set #3, Line 37:</a> <code style="font-family:monospace,monospace">                </code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Could you please use tabs for alignment? I know, you're just moving this definition 'as-is', but other blocks in this file already using tabs, so this one would also be consistent.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15613/3/src/osmo-bts-virtual/l1_if.h">File src/osmo-bts-virtual/l1_if.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/15613/3/src/osmo-bts-virtual/l1_if.h@8">Patch Set #3, Line 8:</a> <code style="font-family:monospace,monospace">specific to osmo-bts-virtual</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Actually, no. It's specific to both osmo-bts-trx and osmo-bts-virtual as the last one reuses some parts of the TDMA scheduler.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15613/3/src/osmo-bts-virtual/main.c">File src/osmo-bts-virtual/main.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/15613/3/src/osmo-bts-virtual/main.c@60">Patch Set #3, Line 60:</a> <code style="font-family:monospace,monospace">zero</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I would avoid using zero-initialization here. This structure is getting initialized in vbts_sched_start() anyway, and moreover it makes harder to catch uninitialized memory access.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15613/3/src/osmo-bts-virtual/scheduler_virtbts.c">File src/osmo-bts-virtual/scheduler_virtbts.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/15613/3/src/osmo-bts-virtual/scheduler_virtbts.c@604">Patch Set #3, Line 604:</a> <code style="font-family:monospace,monospace">      </code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Alignment.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15613">change 15613</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-bts/+/15613"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib17a752cdbaa7d5eb8c5dfa0b197f80a4f38b38e </div>
<div style="display:none"> Gerrit-Change-Number: 15613 </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 <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 28 Sep 2019 16:39:47 +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>