fm10k: Correct typecast in fm10k_update_xc_addr_pf
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 16 Oct 2015 17:57:00 +0000 (10:57 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 6 Dec 2015 07:55:17 +0000 (23:55 -0800)
commit9d4955b45888b1b7c9f2a954cf6aa1269904bb98
tree09e456357b03209289460c6286549f161c3017ff
parent875328e4bce696e85edcda3c4b0ec80fd525e3a3
fm10k: Correct typecast in fm10k_update_xc_addr_pf

Since the resultant data type of the mac_update.mac_upper field is u16,
it does not make sense to typecast u8 variables to u32 first. Since
we're modifying fm10k_pf.c, also update the copyright year.

Reported-by: Matthew Vick <matthew.vick@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Bruce Allan <bruce.w.allan@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