[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080322.180223.90499780.davem@davemloft.net>
Date: Sat, 22 Mar 2008 18:02:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: paulmck@...ux.vnet.ibm.com
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH] fib_trie: fix warning from rcu_assign_poinger
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Date: Tue, 18 Mar 2008 07:06:54 -0700
> On Mon, Mar 17, 2008 at 02:27:06PM -0700, Stephen Hemminger wrote:
> > This gets rid of a warning caused by the test in rcu_assign_pointer.
> > I tried to fix rcu_assign_pointer, but that devolved into a long
> > set of discussions about doing it right that came to no real solution.
> > Since the test in rcu_assign_pointer for constant NULL would never succeed in
> > fib_trie, just open code instead.
>
> Indeed -- fooling gcc is nontrivial. :-/
>
> Acked-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Applied, thanks everyone.
--
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