<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/26673">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lint: checkpatch_osmo: ignore TRACING_LOGGING<br><br>Don't recommend to use ftrace instead of using __func__ inside printf.<br>This only applies to the linux kernel, not to the Osmocom code base.<br><br>Related: OS#5087<br>Related: https://gerrit.osmocom.org/c/libosmocore/+/6357<br>Change-Id: Ied23be32d3371a8b9ac9938a336474f71e7a3ccd<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/73/26673/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 d1ce63a..8514f9c 100755</span><br><span>--- a/lint/checkpatch/checkpatch_osmo.sh</span><br><span>+++ b/lint/checkpatch/checkpatch_osmo.sh</span><br><span>@@ -70,6 +70,7 @@</span><br><span> # * SPDX_LICENSE_TAG: we don't place it on line 1</span><br><span> # * SPLIT_STRING: we do split long messages over multiple lines</span><br><span> # * STRING_FRAGMENTS: sometimes used intentionally to improve readability</span><br><span style="color: hsl(120, 100%, 40%);">+# * TRACING_LOGGING: recommends to use kernel's internal ftrace instead of printf("%s()\n", __func__)</span><br><span> # * TRAILING_STATEMENTS: not followed, e.g. 'while (osmo_select_main_ctx(1) > 0);' is put in one line</span><br><span> # * UNNECESSARY_BREAK: not followed (see https://gerrit.osmocom.org/c/libosmo-netif/+/26429)</span><br><span> # * UNNECESSARY_INT: not followed (see https://gerrit.osmocom.org/c/libosmocore/+/25345)</span><br><span>@@ -108,6 +109,7 @@</span><br><span> --ignore SPDX_LICENSE_TAG \</span><br><span> --ignore SPLIT_STRING \</span><br><span> --ignore STRING_FRAGMENTS \</span><br><span style="color: hsl(120, 100%, 40%);">+ --ignore TRACING_LOGGING \</span><br><span> --ignore TRAILING_STATEMENTS \</span><br><span> --ignore UNNECESSARY_BREAK \</span><br><span> --ignore UNNECESSARY_INT \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/26673">change 26673</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/+/26673"/><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: Ied23be32d3371a8b9ac9938a336474f71e7a3ccd </div>
<div style="display:none"> Gerrit-Change-Number: 26673 </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>