<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:45:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-11614] Modify checkpatch.pl to ignore 80 Character warning for CERROR, CWARN and CDEBUG</title>
                <link>https://jira.whamcloud.com/browse/LU-11614</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Modify checkpatch.pl to ignore 80 Character warning for CERROR, CWARN and CDEBUG. &lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="53910">LU-11614</key>
            <summary>Modify checkpatch.pl to ignore 80 Character warning for CERROR, CWARN and CDEBUG</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="arshad512">Arshad Hussain</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Sun, 4 Nov 2018 07:12:10 +0000</created>
                <updated>Wed, 9 Mar 2022 21:06:22 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="236519" author="adilger" created="Wed, 7 Nov 2018 05:57:41 +0000"  >&lt;p&gt;It would appear that the following patch is supposed to fix this, but it doesn&apos;t seem to be effective?&lt;/p&gt;

&lt;p&gt;Is it possible that the checkpatch.pl script being run against patches in Gerrit is not actually the &lt;tt&gt;contrib/scripts/checkpatch.pl&lt;/tt&gt;, but another copy that is not being updated?  At least some quick testing shows that CDEBUG does not generate an error locally.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Author:     Andreas Dilger &amp;lt;andreas.dilger@intel.com&amp;gt;
AuthorDate: Fri Jul 14 23:57:23 2017 -0600

    LU-7589 build: update checkpatch to ~4.13-rc1 kernel
    
    Update checkpatch.pl to v4.12-11743-g96d0d83 kernel version.
    
    This version includes new functionality that allows us to
    replace the Lustre specific dep_functions and dep_includes
    checks added in our local version with the &quot;spelling.txt&quot;
    file.
    
    Allow CDEBUG/CERROR/LCONSOLE/DEBUG_REQ text strings to exceed
    80 columns, as with upstream printk messages.
    
    Test-Parameters: trivial
    Signed-off-by: Andreas Dilger &amp;lt;andreas.dilger@intel.com&amp;gt;
    Change-Id: I2a16bbd85722b15eb9188eb504bac3a2f63ebbe5
    Reviewed-on: https://review.whamcloud.com/28055
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="236525" author="arshad512" created="Wed, 7 Nov 2018 07:10:52 +0000"  >&lt;p&gt;Thanks Andreas. Ok, I see. And this is what I see on my dev environment. There is definitely some difference in what checkpatch.pl reports on my local and on gerrit.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;On latest master.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
 [lustre-release]# git log --format=oneline -2
 715b3dac37748daeeecb44b8e7f4da96f6e7cc6f LU-6142 lod: Fix style issues &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt;
 lod_dev.c
 ccf3674c9ca3ed8918c49163007708d1ae5db6f5 LU-10472 osd-ldiskfs: T10PI between
 RPC and BIO
 [lustre-release]#
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The checksum of checkpatch.pl is&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
 [lustre-release]# md5sum ./contrib/scripts/checkpatch.pl
 4db6466fb2029443b024740597bbce87 ./contrib/scripts/checkpatch.pl
 [lustre-release]#
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;On local dev environment it throws single 80 char warning&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
 git show | ./contrib/scripts/checkpatch.pl
 &amp;lt;SNIP&amp;gt;
 WARNING: line over 80 characters
 #78: FILE: lustre/lod/lod_dev.c:323:
 + CERROR(&lt;span class=&quot;code-quote&quot;&gt;&quot;%s broken update record! index %u &quot;&lt;/span&gt;DFID&lt;span class=&quot;code-quote&quot;&gt;&quot;.%u : rc = %d\n&quot;&lt;/span&gt;,
 &amp;lt;SNIP&amp;gt;
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;However on the gerrit it throws 3 80 char warnings. Here is the gerrit review link : &lt;a href=&quot;https://review.whamcloud.com/#/c/33594/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/33594/&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
 &amp;lt;snip&amp;gt;
 3 style warning(s).
 For more details please see
 [https:&lt;span class=&quot;code-comment&quot;&gt;//wiki.hpdd.intel.com/display/PUB/Coding+Guidelines]
&lt;/span&gt; lustre/lod/lod_dev.c
 Line 265:

(style) line over 80 characters
 Line 323:

(style) line over 80 characters
 Line 1148:

(style) line over 80 characters
 &amp;lt;snip&amp;gt;
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="33802">LU-7589</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i005o7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>