[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1364484976.15753.45.camel@edumazet-glaptop>
Date: Thu, 28 Mar 2013 08:36:16 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Christoph Lameter <cl@...ux.com>
Cc: roy.qing.li@...il.com, Shan Wei <davidshan@...cent.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH] core: fix the use of this_cpu_ptr
On Thu, 2013-03-28 at 14:38 +0000, Christoph Lameter wrote:
> On Thu, 28 Mar 2013, Eric Dumazet wrote:
>
> > Christoph, could this kind of error be detected by the compiler or
> > sparse ?
>
> The per cpu variables are marked with __percpu. This should be detected by
> sparse.
make C=2 net/core/flow.o
CHECK net/core/flow.c
No warning.
--
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