<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/25107">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lint: ignore LONG_LONE<br><br>With recent code reviews I've realized that in Osmocom we do often use<br>more than 120 characters per line for various reasons. So adjust the<br>linter to not fail anymore if that is the case.<br><br>Related: https://gerrit.osmocom.org/c/osmo-pcu/+/25056/4/src/tbf_ul_ass_fsm.h#32<br>Related: https://gerrit.osmocom.org/c/osmo-msc/+/25076/1/src/libmsc/msc_a.c#125<br>Related: OS#5087<br>Change-Id: I88fd86ac550fddb3017aeceb647c3d9e75367372<br>---<br>M lint/checkpatch/checkpatch_osmo.sh<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/07/25107/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh</span><br><span>index e88688a..abeed56 100755</span><br><span>--- a/lint/checkpatch/checkpatch_osmo.sh</span><br><span>+++ b/lint/checkpatch/checkpatch_osmo.sh</span><br><span>@@ -23,6 +23,7 @@</span><br><span> # * INITIALISED_STATIC: we use this, see also http://lkml.iu.edu/hypermail/linux/kernel/0808.1/2235.html</span><br><span> # * LINE_CONTINUATIONS: false positives</span><br><span> # * LINE_SPACING: we don't always put a blank line after declarations</span><br><span style="color: hsl(120, 100%, 40%);">+# * LONG_LINE: should be 120 chars, but exceptions are done often so don't fail here</span><br><span> # * PREFER_DEFINED_ATTRIBUTE_MACRO: macros like __packed not defined in libosmocore</span><br><span> # * PREFER_FALLTHROUGH: pseudo keyword macro "fallthrough" is not defined in libosmocore</span><br><span> # * REPEATED_WORD: false positives in doxygen descriptions (e.g. '\param[in] data Data passed through...')</span><br><span>@@ -50,6 +51,7 @@</span><br><span>   --ignore INITIALISED_STATIC \</span><br><span>        --ignore LINE_CONTINUATIONS \</span><br><span>        --ignore LINE_SPACING \</span><br><span style="color: hsl(120, 100%, 40%);">+       --ignore LONG_LINE \</span><br><span>         --ignore PREFER_DEFINED_ATTRIBUTE_MACRO \</span><br><span>    --ignore PREFER_FALLTHROUGH \</span><br><span>        --ignore REPEATED_WORD \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/25107">change 25107</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-ci/+/25107"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I88fd86ac550fddb3017aeceb647c3d9e75367372 </div>
<div style="display:none"> Gerrit-Change-Number: 25107 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>