i40e: Change variable type to avoid typecheck failure
authorKevin Scott <kevin.c.scott@intel.com>
Tue, 1 Apr 2014 07:11:52 +0000 (07:11 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Apr 2014 12:20:32 +0000 (05:20 -0700)
commit9d2f98e155192c385a4f3acd1c918ff2ee37ad65
tree8f54e8d119e11f44b87b7adde354e3e7fe10985b
parentc50d2e5d94e1405d739a0656c3a1943688dd629e
i40e: Change variable type to avoid typecheck failure

Change the variable type to avoid compiler warning about int to u16
possible data truncation.

Change-ID: I5eb3b578c86513c9625ca32d2f0b57cc01d7dc98
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c