[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130729.221833.2091004041005201998.davem@davemloft.net>
Date: Mon, 29 Jul 2013 22:18:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: donald.c.skidmore@...el.com, netdev@...r.kernel.org,
gospo@...hat.com, sassmann@...hat.com
Subject: Re: [net-next 03/15] ixgbe: fix fc autoneg ethtool reporting.
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Mon, 29 Jul 2013 05:51:59 -0700
> @@ -67,15 +67,39 @@ static s32 ixgbe_disable_pcie_master(struct ixgbe_hw *hw);
> **/
> s32 ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw)
> {
> + bool supported = false;
...
> + return supported;
If the function is returning bool, fix the function's return type from
's32' to 'bool'.
> - (ixgbe_device_supports_autoneg_fc(hw) == 0)) {
> + (ixgbe_device_supports_autoneg_fc(hw))) {
I think the outermost parenthesis in "(ixgbe_device_supports_autoneg_fc(hw))"
should be removed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists