ixgbe: fix ixgbe_check_reset_blocked() declaration
authorJean Sacren <sakiwit@gmail.com>
Tue, 11 Mar 2014 05:57:56 +0000 (05:57 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 31 Mar 2014 22:48:01 +0000 (15:48 -0700)
commit6425f0f353b91c2edad65a7e7d1362d1787d26fd
tree0636f839bc9e9c2a7f21fce5997ddde6b30823a1
parent151b260c624d47b2c78b2f887e4f791c09c73c17
ixgbe: fix ixgbe_check_reset_blocked() declaration

The commit c97506ab0e22 ("ixgbe: Add check for FW veto bit")
introduced the new function ixgbe_check_reset_blocked() with a minor
issue in declaration. Fix the declaration by changing the type
specifier to bool as the definition returns a boolean value.
Additionally all ixgbe_check_reset_blocked() callers are expected to
return a boolean value.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Acked-by: Don Skidmore <donald.c.skidmore@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_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h