[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080130.200812.193719610.davem@davemloft.net>
Date: Wed, 30 Jan 2008 20:08:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [NET]: should explicitely initialize atomic_t field in struct
dst_ops
From: Eric Dumazet <dada1@...mosbay.com>
Date: Thu, 24 Jan 2008 16:11:17 +0100
> All but one struct dst_ops static initializations miss explicit
> initialization of entries field.
>
> As this field is atomic_t, we should use ATOMIC_INIT(0), and not
> rely on atomic_t implementation.
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Applied, thanks Eric.
--
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