[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090416141610.ad8b9909.akpm@linux-foundation.org>
Date: Thu, 16 Apr 2009 14:16:10 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Roel Kluin <roel.kluin@...il.com>
Cc: jeffrey.t.kirsher@...el.com, e1000-devel@...ts.sourceforge.net,
netdev@...r.kernel.org
Subject: Re: [PATCH] ixgbe: missing parentheses
(cc netdev)
On Thu, 16 Apr 2009 23:05:00 +0200
Roel Kluin <roel.kluin@...il.com> wrote:
> `!' has a higher precedence than `&'
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
> ---
> diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
> index febde45..49a9037 100644
> --- a/drivers/net/ixgbe/ixgbe_main.c
> +++ b/drivers/net/ixgbe/ixgbe_main.c
> @@ -3946,7 +3946,7 @@ static void ixgbe_sfp_config_module_task(struct work_struct *work)
> }
> hw->mac.ops.setup_sfp(hw);
>
> - if (!adapter->flags & IXGBE_FLAG_IN_SFP_LINK_TASK)
> + if (!(adapter->flags & IXGBE_FLAG_IN_SFP_LINK_TASK))
> /* This will also work for DA Twinax connections */
> schedule_work(&adapter->multispeed_fiber_task);
> adapter->flags &= ~IXGBE_FLAG_IN_SFP_MOD_TASK;
This is fixed in linux-next, but hasn't been pushed to Linus yet.
--
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