i40e: use explicit cast from u16 to u8
commit6621e4b2518a2ea5e1f3aab041bfbb0e4fc91239
authorKamil Krawczyk <kamil.krawczyk@intel.com>
Thu, 19 Nov 2015 19:34:19 +0000 (19 11:34 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 13 Dec 2015 05:08:26 +0000 (12 21:08 -0800)
tree9281b6b934157d00fabaebdb5a85988f5841cc1b
parentfdb47ae87af537b24977a03bc69cfe1c5c55ca62
i40e: use explicit cast from u16 to u8

Current implementation generates compilation warnings.

Change-ID: Icceefb50fe62aefaf90a64afb7192e08355a4ec5
Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c