<p><a href="https://gerrit.osmocom.org/11395">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/11395/2/src/host/layer23/src/common/l1ctl.c">File src/host/layer23/src/common/l1ctl.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/11395/2/src/host/layer23/src/common/l1ctl.c@781">Patch Set #2, Line 781:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">size_t frame_len;<br>  uint8_t *frame;<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't really see the point of introducing those two variables.  Why not simply use msgb->l3h = (uint8_t *)data;  and then use msgb_l3len(msg) where you want to access frame_len and mesb_l3(msg) when you want frame?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11395">change 11395</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/11395"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I119fa36c84e95c3003d57c19e25f8146ed45c3c6 </div>
<div style="display:none"> Gerrit-Change-Number: 11395 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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 (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 28 Oct 2018 20:47:50 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>