[Intel-wired-lan] [next-queue v5 06/17] fm10k: Correct typecast in fm10k_update_xc_addr_pf

Singh, Krishneil K krishneil.k.singh at intel.com
Wed Oct 28 00:23:06 UTC 2015


-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Allan, Bruce W
Sent: Friday, October 16, 2015 4:41 PM
To: Keller, Jacob E <jacob.e.keller at intel.com>; Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
Subject: Re: [Intel-wired-lan] [next-queue v5 06/17] fm10k: Correct typecast in fm10k_update_xc_addr_pf

> -----Original Message-----
> From: Intel-wired-lan 
> [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob 
> Keller
> Sent: Friday, October 16, 2015 10:57 AM
> To: Intel Wired LAN
> Subject: [Intel-wired-lan] [next-queue v5 06/17] 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 at intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/fm10k/fm10k_pf.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)


Tested-by: Krishneil Singh <Krishneil.k.singh at intel.com>





More information about the Intel-wired-lan mailing list