i40e/i40evf: User ether_addr_copy instead of memcpy
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 22 May 2014 06:32:02 +0000 (06:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 11 Jun 2014 15:48:22 +0000 (08:48 -0700)
commit9a173901d9969ddd527f8e6de36f4c1b11ce9fb3
treee8a8954ff1fe0853041c0a3e2b9423eafd336872
parent8c27d42ec61e9568fc24dbfb347d844252100765
i40e/i40evf: User ether_addr_copy instead of memcpy

Linux gives us a function to copy Ethernet MAC addresses, let's use it.

Change-ID: I0c861900029ca5ea65a53ca39565852fb633f6fd
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c