]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:26 +0000 (22:03 -0800)
commit94efe14bb7c53b34b89b3aca2bb5b982d864bf05
tree7bdfa1635aff91cdb1b4045560f569ff0a5cb24b
parent2eb24c48133aab18cc268369c1fab74fd78211b2
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>
Orabug: 25394529
(cherry picked from commit 9d4955b45888b1b7c9f2a954cf6aa1269904bb98)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c