ixgbe: Use a signed type to hold error codes
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 10 Apr 2015 17:36:36 +0000 (10:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 May 2015 09:31:13 +0000 (02:31 -0700)
commita1e869de72a7a6d9e1007d0b459e79e91f0cf5b5
tree81bc66fcd99b7b3668dbeb22da80b46c148519a3
parentcb2effe54045b61d7cc6e8d3fa4ed49a6253b7fd
ixgbe: Use a signed type to hold error codes

Because error codes are negative, it only makes sense to
consistently use signed types when handling them. Also remove
some explicit comparisons with 0 on these variables.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c