* Re: [PATCH] Be explict with what we are !'ing in ixgbe_sfp_config_module_task() [not found] <75761e1f53ed07c43a977d98b54d6467d8896530.1239165870.git.tony@bakeyournoodle.com> @ 2009-04-08 17:52 ` Brandeburg, Jesse 2009-04-09 2:26 ` Jeff Kirsher 1 sibling, 0 replies; 3+ messages in thread From: Brandeburg, Jesse @ 2009-04-08 17:52 UTC (permalink / raw) To: Tony Breeds, linux-kernel@vger.kernel.org, e1000-devel@lists.sourceforge.net Cc: netdev@vger.kernel.org Tony Breeds wrote: > GCC warns: > drivers/net/ixgbe/ixgbe_main.c: In function > 'ixgbe_sfp_config_module_task': > drivers/net/ixgbe/ixgbe_main.c:3920: warning: suggest parentheses > around operand of '!' or change '&' to '&&' or '!' to '~' > > Which I think is right. Bracket to remove ambiguity. > > Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> > --- > drivers/net/ixgbe/ixgbe_main.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_main.c > b/drivers/net/ixgbe/ixgbe_main.c > index 9ef128a..9099634 100644 > --- a/drivers/net/ixgbe/ixgbe_main.c > +++ b/drivers/net/ixgbe/ixgbe_main.c > @@ -3917,7 +3917,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; you're extremely correct, thanks! Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com> ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Be explict with what we are !'ing in ixgbe_sfp_config_module_task() [not found] <75761e1f53ed07c43a977d98b54d6467d8896530.1239165870.git.tony@bakeyournoodle.com> 2009-04-08 17:52 ` [PATCH] Be explict with what we are !'ing in ixgbe_sfp_config_module_task() Brandeburg, Jesse @ 2009-04-09 2:26 ` Jeff Kirsher 2009-04-09 3:49 ` [E1000-devel] " Tony Breeds 1 sibling, 1 reply; 3+ messages in thread From: Jeff Kirsher @ 2009-04-09 2:26 UTC (permalink / raw) To: Tony Breeds; +Cc: e1000-devel, netdev, linux-kernel On Tue, Apr 7, 2009 at 9:44 PM, Tony Breeds <tony@bakeyournoodle.com> wrote: > GCC warns: > drivers/net/ixgbe/ixgbe_main.c: In function 'ixgbe_sfp_config_module_task': > drivers/net/ixgbe/ixgbe_main.c:3920: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' > > Which I think is right. Bracket to remove ambiguity. > > Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> > --- Thanks, I will add it to my queue of ixgbe patches. Remember to CC netdev mailing list for networking patches. -- Cheers, Jeff ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [E1000-devel] [PATCH] Be explict with what we are !'ing in ixgbe_sfp_config_module_task() 2009-04-09 2:26 ` Jeff Kirsher @ 2009-04-09 3:49 ` Tony Breeds 0 siblings, 0 replies; 3+ messages in thread From: Tony Breeds @ 2009-04-09 3:49 UTC (permalink / raw) To: Jeff Kirsher; +Cc: netdev, linux-kernel, e1000-devel On Wed, Apr 08, 2009 at 07:26:08PM -0700, Jeff Kirsher wrote: > Thanks, I will add it to my queue of ixgbe patches. Thanks. > Remember to CC netdev mailing list for networking patches. I did but due to a misconfiguration on my latop all the lisst on vger.kernel.org rejected the messsages and I didn't get a bounce :( I think I've fix it now though. Yours Tony ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-09 3:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <75761e1f53ed07c43a977d98b54d6467d8896530.1239165870.git.tony@bakeyournoodle.com>
2009-04-08 17:52 ` [PATCH] Be explict with what we are !'ing in ixgbe_sfp_config_module_task() Brandeburg, Jesse
2009-04-09 2:26 ` Jeff Kirsher
2009-04-09 3:49 ` [E1000-devel] " Tony Breeds
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).