<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1: Code-Review+1</p><p style="white-space: pre-wrap; word-wrap: break-word;">(5 comments)</p><p style="white-space: pre-wrap; word-wrap: break-word;">Fine, small fixes needed.</p></blockquote><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/14488">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/14488/1/CommonLibs/trx_vty.h">File CommonLibs/trx_vty.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/14488/1/CommonLibs/trx_vty.h@66">Patch Set #1, Line 66:</a> <code style="font-family:monospace,monospace">              unsigned int stack_size;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">size_t?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Why? Real range is from not enough (32k) to default on linux (8MiB) to ... slightly more, which is extremely unlikely, it just has to be a type that can hold a reasonably large number.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14488/1/CommonLibs/trx_vty.c">File CommonLibs/trx_vty.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/14488/1/CommonLibs/trx_vty.c@340">Patch Set #1, Line 340:</a> <code style="font-family:monospace,monospace">       "stack-size <0-2147483647>",</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">is 2147483647 or something similar? worth adding a comment.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Doesn't matter, no one is going to increase the stack size from 8MiB to 2GiB, i could have chosen 12345678 instead.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14488/1/CommonLibs/trx_vty.c@685">Patch Set #1, Line 685:</a> <code style="font-family:monospace,monospace">        trx->cfg.stack_size = 0;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">You can drop this line, it's already set by talloc_zero.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Ack</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/14488">change 14488</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/+/14488"/><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: Id752f6b5ce9a96a67cd1ff835687ce0e03d3a50d </div>
<div style="display:none"> Gerrit-Change-Number: 14488 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 17 Jun 2019 11:49:01 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>