OSDN Git Service

fm10k: use ether_addr_copy to copy MAC address
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 26 Oct 2015 23:32:02 +0000 (16:32 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 13 Dec 2015 23:27:25 +0000 (15:27 -0800)
commitf0cf5c98981353563b929801100c30071f0eeefb
tree910eaeff02ba7caef2c9f880608ee91cfe8ecb88
parentf68766d8844f4340992a993f1af5f0307d740d8c
fm10k: use ether_addr_copy to copy MAC address

Use the ether_addr_copy function instead of copying byte-by-byte in a
for-loop by hand.

Reported-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c