<p style="white-space: pre-wrap; word-wrap: break-word;">cosmetics...</p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/19051">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/osmo-trx/+/19051/1/CommonLibs/osmo_signal.h">File CommonLibs/osmo_signal.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-trx/+/19051/1/CommonLibs/osmo_signal.h@60">Patch Set #1, Line 60:</a> <code style="font-family:monospace,monospace">/* signal cb for signal <SS_DEVICE,S_TRX_COUNTER_CHANGE> */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">technically a cb is a callback is a function, this would be data (but i see the same mistake above)</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/19051/1/CommonLibs/trx_rate_ctr.cpp">File CommonLibs/trx_rate_ctr.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-trx/+/19051/1/CommonLibs/trx_rate_ctr.cpp@83">Patch Set #1, Line 83:</a> <code style="font-family:monospace,monospace">static Mutex trx_rate_ctr_mutex;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">oof, now you're also interleaving globals of different realms ... i think two separate struct instances would be much nicer, could even re-use the struct definition for both, right? Maybe also possible to reduce code dup below a bit</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-trx/+/19051/1/CommonLibs/trx_rate_ctr.cpp@161">Patch Set #1, Line 161:</a> <code style="font-family:monospace,monospace">   LOGC(DMAIN, NOTICE) << "Main thread is updating Transceiver counters";</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(looks more like DEBUG to me, but copying above code, i see)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/19051">change 19051</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-trx/+/19051"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id6df00da81f6d6884f4dddc5a2c4b354dca3af97 </div>
<div style="display:none"> Gerrit-Change-Number: 19051 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </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-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 29 Jun 2020 16:25:25 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>