<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:25:42 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-16291] make kobj_type constant</title>
                <link>https://jira.whamcloud.com/browse/LU-16291</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Kernel v5.16-rc2-28-gee6d3dd4ed48:&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;commit ee6d3dd4ed48ab24b74bab3c3977b8218518247d
Author:     Wedson Almeida Filho &amp;lt;wedsonaf@google.com&amp;gt;
AuthorDate: Fri Dec 24 23:13:45 2021 +0000
Commit:     Greg Kroah-Hartman &amp;lt;gregkh@linuxfoundation.org&amp;gt;
CommitDate: Mon Dec 27 10:40:00 2021 +0100

    driver core: make kobj_type constant.
    
    This way instances of kobj_type (which contain function pointers) can be
    stored in .rodata, which means that they cannot be [easily/accidentally]
    modified at runtime.
    
    Signed-off-by: Wedson Almeida Filho &amp;lt;wedsonaf@google.com&amp;gt;
    Link: https://lore.kernel.org/r/20211224231345.777370-1-wedsonaf@google.com
    Signed-off-by: Greg Kroah-Hartman &amp;lt;gregkh@linuxfoundation.org&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Lustre build failed:&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;lustre/obdclass/obd_config.c: In function &apos;class_modify_config&apos;:
lustre/obdclass/obd_config.c:1639:13: error: assignment discards &apos;const&apos; qualifier from pointer target type [-Werror=discarded-qualifiers]
13:36:52  1639 |         typ = get_ktype(kobj);
13:36:52       |             ^
13:36:52 cc1: all warnings being treated as errors
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="73078">LU-16291</key>
            <summary>make kobj_type constant</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Nov 2022 00:46:11 +0000</created>
                <updated>Wed, 29 Nov 2023 07:42:35 +0000</updated>
                            <resolved>Tue, 13 Dec 2022 16:25:57 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="351602" author="yujian" created="Thu, 3 Nov 2022 01:15:57 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=stancheff&quot; class=&quot;user-hover&quot; rel=&quot;stancheff&quot;&gt;stancheff&lt;/a&gt;, I&apos;m not sure if you already have a patch for this issue. I&apos;m working on it based on your patch series.&lt;/p&gt;</comment>
                            <comment id="351651" author="stancheff" created="Thu, 3 Nov 2022 13:24:52 +0000"  >&lt;p&gt;I did encounter that in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16120&quot; title=&quot;kobj_type removed default_attrs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16120&quot;&gt;&lt;del&gt;LU-16120&lt;/del&gt;&lt;/a&gt;, however the larger change introduced some regressions so smaller fix for just &quot;const struct kobj_type *&quot; would be good.&lt;/p&gt;

&lt;p&gt;I think you will  not need a compile test, just add const to the declaration in class_modify_config().&lt;/p&gt;</comment>
                            <comment id="351686" author="yujian" created="Thu, 3 Nov 2022 18:30:20 +0000"  >&lt;p&gt;Got it, thank you, Shaun.&lt;/p&gt;</comment>
                            <comment id="351784" author="gerrit" created="Fri, 4 Nov 2022 06:36:02 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49043&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49043&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16291&quot; title=&quot;make kobj_type constant&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16291&quot;&gt;&lt;del&gt;LU-16291&lt;/del&gt;&lt;/a&gt; build: make kobj_type constant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 826d15e85168cbb82420e2d06460c074440f3804&lt;/p&gt;</comment>
                            <comment id="352679" author="gerrit" created="Thu, 10 Nov 2022 21:42:26 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49123&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49123&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16291&quot; title=&quot;make kobj_type constant&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16291&quot;&gt;&lt;del&gt;LU-16291&lt;/del&gt;&lt;/a&gt; build: make kobj_type constant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0949e43dd3eb9150dae9b64770390112901d247b&lt;/p&gt;</comment>
                            <comment id="356204" author="gerrit" created="Tue, 13 Dec 2022 16:07:45 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49043/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49043/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16291&quot; title=&quot;make kobj_type constant&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16291&quot;&gt;&lt;del&gt;LU-16291&lt;/del&gt;&lt;/a&gt; build: make kobj_type constant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d1dbf26afd6676e02a2a00e635b9ad1fe14cf68e&lt;/p&gt;</comment>
                            <comment id="356226" author="pjones" created="Tue, 13 Dec 2022 16:25:57 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="365221" author="gerrit" created="Wed, 8 Mar 2023 06:45:14 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49123/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49123/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16291&quot; title=&quot;make kobj_type constant&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16291&quot;&gt;&lt;del&gt;LU-16291&lt;/del&gt;&lt;/a&gt; build: make kobj_type constant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 88783c0f8e05178090548960e051a624a1c6561a&lt;/p&gt;</comment>
                            <comment id="394477" author="gerrit" created="Tue, 28 Nov 2023 06:54:33 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53263&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53263&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16291&quot; title=&quot;make kobj_type constant&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16291&quot;&gt;&lt;del&gt;LU-16291&lt;/del&gt;&lt;/a&gt; build: make kobj_type constant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 062c7d6e9a40c6f6a84a2fc2709f462859e42400&lt;/p&gt;</comment>
                            <comment id="394694" author="gerrit" created="Wed, 29 Nov 2023 07:42:35 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53277&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53277&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16291&quot; title=&quot;make kobj_type constant&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16291&quot;&gt;&lt;del&gt;LU-16291&lt;/del&gt;&lt;/a&gt; build: make kobj_type constant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_14&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 20ba62e209463d3a07f088884a860b6879d885de&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="72698">LU-16221</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i034lr:</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>
                                                                                            <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>