i40e/base: fix error code conversion type
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:39 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:21 +0000 (01:35 +0200)
commit272eb7b988208c7b9265ea7f2922917e56dc2db5
tree19487020bcd801323a6f8cd374d796bc83024418
parentb1f91174a55cf03a149949c336c378faca71860d
i40e/base: fix error code conversion type

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

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_adminq.h