<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:25:16 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-16241] Kernel 3.10 Build Fail on Master (3ffcb5b70) with NL_SET_ERR_MSG not defined</title>
                <link>https://jira.whamcloud.com/browse/LU-16241</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Master is at: 3ffcb5b70&lt;/p&gt;

&lt;p&gt;Kernel : 3.10&lt;/p&gt;

&lt;p&gt;Build falied with:&lt;/p&gt;

&lt;p&gt;&#160;&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;make[3]: Entering directory `/usr/src/kernels/3.10.0-957.el7_lustre.x86_64&apos;
&#160; CC [M] &#160;/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.o
&#160; CC [M] &#160;/root/mrp/lustre-xx-3.10/lustre-release/lustre/osp/osp_dev.o
/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.c: In function &#8216;lustre_device_list_start&#8217;:
/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.c:151:4: error: implicit declaration of function &#8216;NL_SET_ERR_MSG&#8217; [-Werror=implicit-function-declaration]
&#160; &#160; NL_SET_ERR_MSG(extack, &quot;No devices found&quot;);
&#160; &#160; ^
/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.c:151:19: error: &#8216;extack&#8217; undeclared (first use in this function)
&#160; &#160; NL_SET_ERR_MSG(extack, &quot;No devices found&quot;);
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;^
/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.c:151:19: note: each undeclared identifier is reported only once for each function it appears in
/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.c: In function &#8216;lustre_device_list_dump&#8217;:
/root/mrp/lustre-xx-3.10/lustre-release/lustre/obdclass/kernelcomm.c:188:19: error: &#8216;extack&#8217; undeclared (first use in this function)
&#160; &#160; NL_SET_ERR_MSG(extack, &quot;failed to send key table&quot;);
&#160;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Looks like NL_SET_ERR_MSG is defined under net/genetlink.h after 4.x kernel. Not available under 3.X kernel. Works on 4.18&lt;/p&gt;</description>
                <environment></environment>
        <key id="72810">LU-16241</key>
            <summary>Kernel 3.10 Build Fail on Master (3ffcb5b70) with NL_SET_ERR_MSG not defined</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="arshad512">Arshad Hussain</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Oct 2022 05:30:21 +0000</created>
                <updated>Wed, 2 Nov 2022 14:58:22 +0000</updated>
                            <resolved>Wed, 2 Nov 2022 14:58:22 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="349864" author="simmonsja" created="Mon, 17 Oct 2022 14:30:32 +0000"  >&lt;p&gt;can you check kernel/include/linux/netlink.h for the MACRO.&lt;/p&gt;

&lt;p&gt;Its defined as such on RHEL7&lt;/p&gt;

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

&lt;p&gt;/* RHEL: Specific implementation of NL_SET_ERR_MSG* macros. Due to absence of &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;ext-ack support in RHEL7 the macros don&apos;t pass the error message to caller&lt;/li&gt;
	&lt;li&gt;and instead of this they simply put the message to the system log.&lt;/li&gt;
	&lt;li&gt;To avoid flooding of the log macro pr_debug() is used and the error messages&lt;/li&gt;
	&lt;li&gt;can be enabled or disabled via dynamic_debug in sysfs.&lt;br/&gt;
*/ &lt;br/&gt;
#define NL_SET_ERR_MSG(unused, msg) do 
{ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;\ 
&#160;&#160;&#160;&#160;&#160;&#160;&#160;static const char __msg[] = msg; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;\ 
&#160;&#160;&#160;&#160;&#160;&#160;&#160;pr_debug(&quot;%s\n&quot;, __msg); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;\ 
}
&lt;p&gt; while(0)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Maybe it was moved elsewhere.&lt;/p&gt;</comment>
                            <comment id="350091" author="gerrit" created="Wed, 19 Oct 2022 04:35:32 +0000"  >&lt;p&gt;&quot;Arshad Hussain &amp;lt;arshad.hussain@aeoncomputing.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48916&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48916&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16241&quot; title=&quot;Kernel 3.10 Build Fail on Master (3ffcb5b70) with NL_SET_ERR_MSG not defined&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16241&quot;&gt;&lt;del&gt;LU-16241&lt;/del&gt;&lt;/a&gt; obdclass: NL_SET_ERR_MSG work for older kernel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a70a2f63c38e1cb49380986026eac025bbd75005&lt;/p&gt;</comment>
                            <comment id="351472" author="gerrit" created="Wed, 2 Nov 2022 07:12:12 +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/+/48916/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48916/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16241&quot; title=&quot;Kernel 3.10 Build Fail on Master (3ffcb5b70) with NL_SET_ERR_MSG not defined&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16241&quot;&gt;&lt;del&gt;LU-16241&lt;/del&gt;&lt;/a&gt; obdclass: NL_SET_ERR_MSG work for older kernel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d41a508a4958b9edb104ee0076fd29d0f2196845&lt;/p&gt;</comment>
                            <comment id="351514" author="pjones" created="Wed, 2 Nov 2022 14:58:22 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="46759">LU-9680</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|i032yn:</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>