<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:45:04 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-4699] bad ERR_PTR() use</title>
                <link>https://jira.whamcloud.com/browse/LU-4699</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;/root/lustre-release/lustre/lmv/lmv_obd.c:1796:10: warning: ERR_PTR cast
                RETURN((void *)oinfo);
                ~~~~~~~^~~~~~~~~~~~~~

/root/lustre-release/lustre/lod/lproc_lod.c:321:8: warning: ERR_PTR passed
                rc = next-&amp;gt;ld_ops-&amp;gt;ldo_process_config(NULL, next, lcfg);
                     ^                                            ~~~~

/root/lustre-release/lustre/lod/lproc_lod.c:326:2: warning: ERR_PTR passed
        lustre_cfg_free(lcfg);
        ^               ~~~~

/root/lustre-release/lustre/lov/lov_io.c:203:26: warning: ERR_PTR passed
                result = cl_io_sub_init(sub-&amp;gt;sub_env, sub_io,
                         ^              ~~~~~~~~~~~~

/root/lustre-release/lustre/lov/lov_io.c:731:9: warning: ERR_PTR dereference
        sub-&amp;gt;sub_io-&amp;gt;u.ci_fault.ft_nob = fio-&amp;gt;ft_nob;
        ^~~~~~~~~~~

/root/lustre-release/lustre/lov/lov_io.c:732:9: warning: ERR_PTR passed
        lov_sub_put(sub);
        ^           ~~~

/root/lustre-release/lustre/lov/lov_lock.c:91:34: warning: ERR_PTR cast
                        subenv = (void*)sub;
                                 ^~~~~~~~~~

/root/lustre-release/lustre/lov/lov_lock.c:173:14: warning: ERR_PTR cast
                        sublock = (void *)subenv;
                                  ^~~~~~~~~~~~~~

/root/lustre-release/lustre/lov/lov_object.c:121:16: warning: ERR_PTR passed
        RETURN(lu2cl(o));
        ~~~~~~~^~~~~~~~~

/root/lustre-release/lustre/lov/lov_object.c:274:14: warning: ERR_PTR passed
                                int sz = lov_page_slice_fixup(lov, stripe);
                                         ^                         ~~~~~~
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="23431">LU-4699</key>
            <summary>bad ERR_PTR() use</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>ERR_PTR</label>
                            <label>RoDC</label>
                    </labels>
                <created>Mon, 3 Mar 2014 19:34:58 +0000</created>
                <updated>Tue, 12 Aug 2014 19:40:24 +0000</updated>
                            <resolved>Sat, 3 May 2014 00:15:05 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="78554" author="jhammond" created="Thu, 6 Mar 2014 01:14:53 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9519&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9519&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4699&quot; title=&quot;bad ERR_PTR() use&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4699&quot;&gt;&lt;del&gt;LU-4699&lt;/del&gt;&lt;/a&gt; libcfs: unify ERR_PTR definitions&lt;/p&gt;</comment>
                            <comment id="79411" author="jhammond" created="Sun, 16 Mar 2014 19:07:44 +0000"  >&lt;p&gt;And in the KEY_LAST_ID case of ofd_get_info_hdl():&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;/root/lustre-release/lustre/ofd/ofd_dev.c:894:3: warning: ERR_PTR passed
                ofd_seq_put(tsi-&amp;gt;tsi_env, oseq);
                ^                         ~~~~
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="79412" author="jhammond" created="Sun, 16 Mar 2014 19:08:15 +0000"  >&lt;p&gt;Plus hundreds of unchecked returns from lustre_cfg_new().&lt;/p&gt;</comment>
                            <comment id="83113" author="jhammond" created="Sat, 3 May 2014 00:15:06 +0000"  >&lt;p&gt;Patch landed to master.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwglb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12922</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>