i40e/i40evf: fix up type clash in i40e_aq_rc_to_posix conversion
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 23 Jul 2015 20:54:30 +0000 (16:54 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:14:12 +0000 (05:14 -0700)
commit1fa89a4b3b0b646ee9cb04eb890a3398eae0dc85
treee70678f8031f6d17cfd38dc22662946bef56dd49
parent4c4935a964e29da61390122f0a5c9f36e8ae081d
i40e/i40evf: fix up type clash in i40e_aq_rc_to_posix conversion

The error code sent into i40e_aq_rc_to_posix() are signed values, so we
really need to treat them as such.

Change-ID: I3d1ae0ee9ae0b1b6f5fc424f8b8cc58b0ea93203
Reported-by: Helin Zhang <helin.zhang@intel.com>
Signed-off-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_adminq.h
drivers/net/ethernet/intel/i40evf/i40e_adminq.h