OSDN Git Service

ixgbevf: use ether_addr_copy instead of memcpy
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 12 Oct 2015 17:55:51 +0000 (10:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 23 Nov 2015 19:08:51 +0000 (11:08 -0800)
commit91a76baadec1f30e8441c3d52c2559468a4da693
tree70afe2690543a1d7aea07880e4c448ac365787b3
parentcfbe4dba0d5891faa11bd4e7c1fcdc512aff2f5f
ixgbevf: use ether_addr_copy instead of memcpy

replace some instances of memcpy for setting up the mac address with
ether_addr_copy()

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Darin Miller <darin.j.miller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c