<p style="white-space: pre-wrap; word-wrap: break-word;">just a minor cosmetic remark...</p><p>Patch set 2:<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-pcu/+/18351">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-pcu/+/18351/2/src/coding_scheme.h">File src/coding_scheme.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/+/18351/2/src/coding_scheme.h@57">Patch Set #2, Line 57:</a> <code style="font-family:monospace,monospace">bool mcs_is_valid(enum CodingScheme cs);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">so, here writing 'enum CodingScheme' makes it clear that this is just an enum, but .....</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/18351/2/src/decoding.h">File src/decoding.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/+/18351/2/src/decoding.h@43">Patch Set #2, Line 43:</a> <code style="font-family:monospace,monospace">                CodingScheme cs, const uint8_t *data, RlcData *chunks,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">.... here, you write just CodingScheme, which looks like a complex datatype (class).<br>I think it would be nicer to see 'enum CodingScheme' written out everywhere,<br>because .....</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/18351/2/src/encoding.cpp">File src/encoding.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/+/18351/2/src/encoding.cpp@1114">Patch Set #2, Line 1114:</a> <code style="font-family:monospace,monospace">       switch(mcs_header_type(cs)) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">.... here it looks like mcs_header_type() should have been a member function of the CodingScheme class.<br>If it said 'enum' above, that misunderstanding would not come up.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/18351">change 18351</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/+/18351"/><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: Ie9ce2144ba9e8dbba9704d4e0000a2929e3e41df </div>
<div style="display:none"> Gerrit-Change-Number: 18351 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 19 May 2020 13:54:44 +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>