]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit023eb023d7e7f0ed8f15af528129c87963e4d6b3
tree09e456357b03209289460c6286549f161c3017ff
parent5677b6f0780f0ec18124715308173e5149a49b04
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