Re: [PATCH] core: fix the use of this_cpu_ptr
From: Eric Dumazet <hidden>
Date: 2013-03-28 15:36:20
From: Eric Dumazet <hidden>
Date: 2013-03-28 15:36:20
On Thu, 2013-03-28 at 14:38 +0000, Christoph Lameter wrote:
On Thu, 28 Mar 2013, Eric Dumazet wrote:
quoted
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.