[E1000-devel] couldn't install x520 driver on CentOS 6.5 x64

2014-07-29 Thread linux...@gmail.com
hey ,We have use the intel Network Adapter X520. our os version is [root@gfs-5 src]# cat /etc/redhat-release CentOS release 6.5 (Final) kernel's version [root@gfs-5 ixgbe-3.21.2]# uname -a Linux gfs-5 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Re: [E1000-devel] [PATCH] net: ethernet: intel: ixgbe: ixgbe_main.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-29 Thread Rickard Strandqvist
Den 29 jul 2014 04:40 skrev Stephen Hemminger step...@networkplumber.org : On Sat, 26 Jul 2014 16:24:36 +0200 Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Rickard Strandqvist

[E1000-devel] [PATCH 0/9] use correct structure type name in sizeof

2014-07-29 Thread Julia Lawall
These patches fix typos in the name of a type referenced in a sizeof command. These problems are not caught by the compiler, because they have no impact on execution - the size of a pointer is independent of the size of the pointed value. The semantic patch that finds these problems is shown

[E1000-devel] [PATCH 3/9] i40e: use correct structure type name in sizeof

2014-07-29 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Correct typo in the name of the type given to sizeof. Because it is the size of a pointer that is wanted, the typo has no impact on compilation or execution. This problem was found using Coccinelle (http://coccinelle.lip6.fr/). The semantic patch used

Re: [E1000-devel] [linux-nics] couldn't install x520 driver on CentOS 6.5 x64

2014-07-29 Thread Fujinaka, Todd
You don't have the right kernel headers. Look at the running kernel from uname: Linux gfs-5 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC and it's not the same as the headers you have installed: kernel-headers-2.6.32-431.20.5.el6.x86_64 Thanks. Todd Fujinaka Software

Re: [E1000-devel] couldn't install x520 driver on CentOS 6.5 x64

2014-07-29 Thread Brandeburg, Jesse
You ended up with kernel-devel for 20.5, and have a kernel running 20.3 [root@gfs-5 ixgbe-3.21.2]# uname -a Linux gfs-5 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux kernel-devel-2.6.32-431.20.5.el6.x86_64 BTW, kernel-devel is the only

Re: [E1000-devel] [PATCH] net: ethernet: intel: ixgbe: ixgbe_main.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-29 Thread Brown, Aaron F
On Tue, 2014-07-29 at 14:15 +0200, Rickard Strandqvist wrote: Den 29 jul 2014 04:40 skrev Stephen Hemminger step...@networkplumber.org : On Sat, 26 Jul 2014 16:24:36 +0200 Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Replacing strncpy with strlcpy to avoid strings

Re: [E1000-devel] [PATCH 3/9] i40e: use correct structure type name in sizeof

2014-07-29 Thread Brown, Aaron F
On Tue, 2014-07-29 at 17:16 +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Correct typo in the name of the type given to sizeof. Because it is the size of a pointer that is wanted, the typo has no impact on compilation or execution. This problem was found using

Re: [E1000-devel] [PATCH -next] i40e: fix sparse non static symbol warning

2014-07-29 Thread Brown, Aaron F
On Wed, 2014-07-30 at 07:20 +0800, weiyj...@163.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fixes the following sparse warnings: drivers/net/ethernet/intel/i40e/i40e_nvm.c:254:13: warning: symbol 'i40e_write_nvm_aq' was not declared. Should it be static? Signed-off-by:

Re: [E1000-devel] couldn't install x520 driver on CentOS 6.5 x64

2014-07-29 Thread linux...@gmail.com
thanks so much after yum install kernel-devel-2.6.32-431.20.3.el6 I have installed the drivers 2014-07-30 2:45 GMT+08:00 Brandeburg, Jesse jesse.brandeb...@intel.com: You ended up with kernel-devel for 20.5, and have a kernel running 20.3 [root@gfs-5 ixgbe-3.21.2]# uname -a Linux gfs-5