<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.terasic.com.tw/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.terasic.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99</id>
		<title>重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.terasic.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99"/>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;action=history"/>
		<updated>2026-05-20T09:37:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5297&amp;oldid=prev</id>
		<title>Dongliu at 09:44, 5 November 2024</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5297&amp;oldid=prev"/>
				<updated>2024-11-05T09:44:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:44, 5 November 2024&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 124:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 124:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''A'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;：内核版本搞了 &lt;/del&gt; 之前的驱动不支持5.4以上的内核版本，&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''A'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;：内核版本高了 &lt;/ins&gt; 之前的驱动不支持5.4以上的内核版本，&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;修改方式：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;修改方式：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 131:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 131:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXTRA_FLAGS += -Wno-error=date-time&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXTRA_FLAGS += -Wno-error=date-time&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXTRA_CFLAGS += -Wno-date-time -I$(PWD)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXTRA_CFLAGS += -Wno-date-time -I$(PWD)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;具体参考下面两个截图：&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:makeDE5A-NETDDR4PCIE1.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:makeDE5A-NETDDR4PCIE1.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:makeDE5A-NETDDR4PCIE2.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:makeDE5A-NETDDR4PCIE2.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;然后重启再安装。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;若重启再遇到问题可以尝试改用modprobe 安装驱动。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dongliu</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5294&amp;oldid=prev</id>
		<title>Dongliu at 09:30, 5 November 2024</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5294&amp;oldid=prev"/>
				<updated>2024-11-05T09:30:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:30, 5 November 2024&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/del&gt;make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:9: error: ‘access_ok’ undeclared (first use in this function)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:9: error: ‘access_ok’ undeclared (first use in this function)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  26 |&amp;nbsp; &amp;nbsp;  if (access_ok(VERIFY_READ, (void __user *)arg, _IOC_SIZE(cmd))) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  26 |&amp;nbsp; &amp;nbsp;  if (access_ok(VERIFY_READ, (void __user *)arg, _IOC_SIZE(cmd))) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/ins&gt;, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:9: note: each undeclared identifier is reported only once for each function it appears in&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:9: note: each undeclared identifier is reported only once for each function it appears in&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:51:79: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:51:79: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:120:9: error: ‘access_ok’ undeclared (first use in this function)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:120:9: error: ‘access_ok’ undeclared (first use in this function)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 120 |&amp;nbsp; &amp;nbsp;  if (access_ok(VERIFY_WRITE, (void __user *)buf, bytes_read)) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 120 |&amp;nbsp; &amp;nbsp;  if (access_ok(VERIFY_WRITE, (void __user *)buf, bytes_read)) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/ins&gt;, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_write’:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_write’:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:154:57: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:154:57: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:154:9: error: ‘access_ok’ undeclared (first use in this function)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:154:9: error: ‘access_ok’ undeclared (first use in this function)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 154 |&amp;nbsp; &amp;nbsp;  if (access_ok(VERIFY_READ, (void __user *)buf, count)) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 154 |&amp;nbsp; &amp;nbsp;  if (access_ok(VERIFY_READ, (void __user *)buf, count)) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/ins&gt;, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pci_remove’:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pci_remove’:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:490:77: error: macro &amp;quot;__DATE__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:490:77: error: macro &amp;quot;__DATE__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 102:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 102:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:490:51: error: macro &amp;quot;__TIME__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:490:51: error: macro &amp;quot;__TIME__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 490 |&amp;nbsp; &amp;nbsp;  dev_err(&amp;amp;dev-&amp;gt;dev, &amp;quot;: altera_pcie_remove(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 490 |&amp;nbsp; &amp;nbsp;  dev_err(&amp;amp;dev-&amp;gt;dev, &amp;quot;: altera_pcie_remove(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;, 5 November 2024 (CST)~~&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/ins&gt;, 5 November 2024 (CST)~~&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_init’:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_init’:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:509:72: error: macro &amp;quot;__DATE__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:509:72: error: macro &amp;quot;__DATE__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 509 | KERN_DEBUG ALTERA_PCIE_DRIVER_NAME &amp;quot;: altera_pcie_init(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 509 | KERN_DEBUG ALTERA_PCIE_DRIVER_NAME &amp;quot;: altera_pcie_init(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;, 5 November 2024 (CST)~~&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/ins&gt;, 5 November 2024 (CST)~~&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:509:85: error: macro &amp;quot;__TIME__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:509:85: error: macro &amp;quot;__TIME__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 509 | TERA_PCIE_DRIVER_NAME &amp;quot;: altera_pcie_init(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 509 | TERA_PCIE_DRIVER_NAME &amp;quot;: altera_pcie_init(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;, 5 November 2024 (CST)~~&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ^17:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/ins&gt;, 5 November 2024 (CST)~~&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;cc1: some warnings being treated as errors&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;cc1: some warnings being treated as errors&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/del&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 130:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 132:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXTRA_CFLAGS += -Wno-date-time -I$(PWD)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXTRA_CFLAGS += -Wno-date-time -I$(PWD)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Example&lt;/del&gt;.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;makeDE5A-NETDDR4PCIE1&lt;/ins&gt;.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Example&lt;/del&gt;.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;makeDE5A-NETDDR4PCIE2&lt;/ins&gt;.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dongliu</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5293&amp;oldid=prev</id>
		<title>Dongliu at 09:24, 5 November 2024</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5293&amp;oldid=prev"/>
				<updated>2024-11-05T09:24:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:24, 5 November 2024&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''[[make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;''[[make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2]]''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dongliu</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5292&amp;oldid=prev</id>
		<title>Dongliu at 09:23, 5 November 2024</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5292&amp;oldid=prev"/>
				<updated>2024-11-05T09:23:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:23, 5 November 2024&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;[[make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dongliu</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5291&amp;oldid=prev</id>
		<title>Dongliu at 09:23, 5 November 2024</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5291&amp;oldid=prev"/>
				<updated>2024-11-05T09:23:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:23, 5 November 2024&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Makefile:9: recipe for target 'all' failed&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;make: *** [all] Error 2&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dongliu</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5290&amp;oldid=prev</id>
		<title>Dongliu: Created page with &quot;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：  make -C /lib/modules/5.4.0-150-generic...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E9%87%8D%E6%96%B0make%E7%BC%96%E8%AF%91DE5a-NET-DDR4%E7%9A%84_PCIe_driver%E7%9A%84%E6%97%B6%E5%80%99%E6%8A%A5%E9%94%99&amp;diff=5290&amp;oldid=prev"/>
				<updated>2024-11-05T09:22:26Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#39;&amp;#39;&amp;#39;Q&amp;#39;&amp;#39;&amp;#39;:客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：  make -C /lib/modules/5.4.0-150-generic...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Q''':客户的环境 ubuntu18.04，内核版本5.4.0-150-generic，重新make编译DE5a-NET-DDR4的 PCIe driver的时候报错如下：&lt;br /&gt;
&lt;br /&gt;
make -C /lib/modules/5.4.0-150-generic/build M=/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver&lt;br /&gt;
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;br /&gt;
  AR      /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/built-in.a&lt;br /&gt;
  CC [M]  /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.o&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_ioctl’:&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:66: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;br /&gt;
   26 |     if (access_ok(VERIFY_READ, (void __user *)arg, _IOC_SIZE(cmd))) {&lt;br /&gt;
      |                                                                  ^&lt;br /&gt;
In file included from ./include/linux/uaccess.h:11,&lt;br /&gt;
                 from ./arch/x86/include/asm/fpu/xstate.h:5,&lt;br /&gt;
                 from ./arch/x86/include/asm/pgtable.h:26,&lt;br /&gt;
                 from ./include/linux/mm.h:100,&lt;br /&gt;
                 from ./include/linux/scatterlist.h:8,&lt;br /&gt;
                 from ./include/linux/dmapool.h:14,&lt;br /&gt;
                 from ./include/linux/pci.h:1419,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.h:5,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:5:&lt;br /&gt;
./arch/x86/include/asm/uaccess.h:93: note: macro &amp;quot;access_ok&amp;quot; defined here&lt;br /&gt;
   93 | #define access_ok(addr, size)                                   \&lt;br /&gt;
      | &lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:9: error: ‘access_ok’ undeclared (first use in this function)&lt;br /&gt;
   26 |     if (access_ok(VERIFY_READ, (void __user *)arg, _IOC_SIZE(cmd))) {&lt;br /&gt;
      |         ^17:22, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:26:9: note: each undeclared identifier is reported only once for each function it appears in&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:51:79: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;br /&gt;
   51 |      if (access_ok(VERIFY_WRITE, (void __user *)arg, _IOC_SIZE(cmd))) {&lt;br /&gt;
      |                                                                    ^&lt;br /&gt;
&lt;br /&gt;
In file included from ./include/linux/uaccess.h:11,&lt;br /&gt;
                 from ./arch/x86/include/asm/fpu/xstate.h:5,&lt;br /&gt;
                 from ./arch/x86/include/asm/pgtable.h:26,&lt;br /&gt;
                 from ./include/linux/mm.h:100,&lt;br /&gt;
                 from ./include/linux/scatterlist.h:8,&lt;br /&gt;
                 from ./include/linux/dmapool.h:14,&lt;br /&gt;
                 from ./include/linux/pci.h:1419,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.h:5,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:5:&lt;br /&gt;
./arch/x86/include/asm/uaccess.h:93: note: macro &amp;quot;access_ok&amp;quot; defined here&lt;br /&gt;
   93 | #define access_ok(addr, size)                                   \&lt;br /&gt;
      | &lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:68:75: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;br /&gt;
   68 |      if (access_ok(VERIFY_WRITE, (void __user *)arg, _IOC_SIZE(cmd))) {&lt;br /&gt;
      |                                                                    ^&lt;br /&gt;
&lt;br /&gt;
In file included from ./include/linux/uaccess.h:11,&lt;br /&gt;
                 from ./arch/x86/include/asm/fpu/xstate.h:5,&lt;br /&gt;
                 from ./arch/x86/include/asm/pgtable.h:26,&lt;br /&gt;
                 from ./include/linux/mm.h:100,&lt;br /&gt;
                 from ./include/linux/scatterlist.h:8,&lt;br /&gt;
                 from ./include/linux/dmapool.h:14,&lt;br /&gt;
                 from ./include/linux/pci.h:1419,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.h:5,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:5:&lt;br /&gt;
./arch/x86/include/asm/uaccess.h:93: note: macro &amp;quot;access_ok&amp;quot; defined here&lt;br /&gt;
   93 | #define access_ok(addr, size)                                   \&lt;br /&gt;
      | &lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_read’:&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:120:63: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;br /&gt;
  120 |     if (access_ok(VERIFY_WRITE, (void __user *)buf, bytes_read)) {&lt;br /&gt;
      |                                                               ^&lt;br /&gt;
In file included from ./include/linux/uaccess.h:11,&lt;br /&gt;
                 from ./arch/x86/include/asm/fpu/xstate.h:5,&lt;br /&gt;
                 from ./arch/x86/include/asm/pgtable.h:26,&lt;br /&gt;
                 from ./include/linux/mm.h:100,&lt;br /&gt;
                 from ./include/linux/scatterlist.h:8,&lt;br /&gt;
                 from ./include/linux/dmapool.h:14,&lt;br /&gt;
                 from ./include/linux/pci.h:1419,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.h:5,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:5:&lt;br /&gt;
./arch/x86/include/asm/uaccess.h:93: note: macro &amp;quot;access_ok&amp;quot; defined here&lt;br /&gt;
   93 | #define access_ok(addr, size)                                   \&lt;br /&gt;
      | &lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:120:9: error: ‘access_ok’ undeclared (first use in this function)&lt;br /&gt;
  120 |     if (access_ok(VERIFY_WRITE, (void __user *)buf, bytes_read)) {&lt;br /&gt;
      |         ^17:22, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_write’:&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:154:57: error: macro &amp;quot;access_ok&amp;quot; passed 3 arguments, but takes just 2&lt;br /&gt;
  154 |     if (access_ok(VERIFY_READ, (void __user *)buf, count)) {&lt;br /&gt;
      |                                                         ^&lt;br /&gt;
In file included from ./include/linux/uaccess.h:11,&lt;br /&gt;
                 from ./arch/x86/include/asm/fpu/xstate.h:5,&lt;br /&gt;
                 from ./arch/x86/include/asm/pgtable.h:26,&lt;br /&gt;
                 from ./include/linux/mm.h:100,&lt;br /&gt;
                 from ./include/linux/scatterlist.h:8,&lt;br /&gt;
                 from ./include/linux/dmapool.h:14,&lt;br /&gt;
                 from ./include/linux/pci.h:1419,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.h:5,&lt;br /&gt;
                 from /home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:5:&lt;br /&gt;
./arch/x86/include/asm/uaccess.h:93: note: macro &amp;quot;access_ok&amp;quot; defined here&lt;br /&gt;
   93 | #define access_ok(addr, size)                                   \&lt;br /&gt;
      | &lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:154:9: error: ‘access_ok’ undeclared (first use in this function)&lt;br /&gt;
  154 |     if (access_ok(VERIFY_READ, (void __user *)buf, count)) {&lt;br /&gt;
      |         ^17:22, 5 November 2024 (CST)[[User:Dongliu|Dongliu]]&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pci_remove’:&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:490:77: error: macro &amp;quot;__DATE__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;br /&gt;
  490 | _err(&amp;amp;dev-&amp;gt;dev, &amp;quot;: altera_pcie_remove(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;br /&gt;
      |                                                                      ^&lt;br /&gt;
&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:490:51: error: macro &amp;quot;__TIME__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;br /&gt;
  490 |     dev_err(&amp;amp;dev-&amp;gt;dev, &amp;quot;: altera_pcie_remove(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;br /&gt;
      |                                                   ^17:22, 5 November 2024 (CST)~~&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c: In function ‘altera_pcie_init’:&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:509:72: error: macro &amp;quot;__DATE__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;br /&gt;
  509 | KERN_DEBUG ALTERA_PCIE_DRIVER_NAME &amp;quot;: altera_pcie_init(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;br /&gt;
      |                                                             ^17:22, 5 November 2024 (CST)~~&lt;br /&gt;
&lt;br /&gt;
/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.c:509:85: error: macro &amp;quot;__TIME__&amp;quot; might prevent reproducible builds [-Werror=date-time]&lt;br /&gt;
  509 | TERA_PCIE_DRIVER_NAME &amp;quot;: altera_pcie_init(), &amp;quot; __DATE__ &amp;quot; &amp;quot; __TIME__ &amp;quot;\n&amp;quot;);&lt;br /&gt;
      |                                                             ^17:22, 5 November 2024 (CST)~~&lt;br /&gt;
&lt;br /&gt;
cc1: some warnings being treated as errors&lt;br /&gt;
scripts/Makefile.build:270: recipe for target '/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.o' failed&lt;br /&gt;
make[2]: *** [/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver/altera_pcie.o] Error 1&lt;br /&gt;
Makefile:1767: recipe for target '/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver' failed&lt;br /&gt;
make[1]: *** [/home/v726726/DE5a-Net-DDR4_v.1.0.9_SystemCD/Demonstrations/PCIe_SW_KIT/Linux/PCIe_Driver] Error 2&lt;br /&gt;
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-150-generic”&lt;br /&gt;
Makefile:9: recipe for target 'all' failed&lt;br /&gt;
make: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A'''：内核版本搞了  之前的驱动不支持5.4以上的内核版本，&lt;br /&gt;
&lt;br /&gt;
修改方式：&lt;br /&gt;
1.将altera_pcie.c中，access_ok函数中的，第一个参数(VERIFY_READ或者VERIFY_WRITE)都拿掉&lt;br /&gt;
2.修改Makefile，添加：&lt;br /&gt;
        EXTRA_FLAGS += -Wno-error=date-time&lt;br /&gt;
        EXTRA_CFLAGS += -Wno-date-time -I$(PWD)&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;/div&gt;</summary>
		<author><name>Dongliu</name></author>	</entry>

	</feed>