Re: [ovs-dev] [PATCH 2/2] sparse: workaround for a bug in sparse.

2014-03-28 Thread Ben Pfaff
On Fri, Mar 28, 2014 at 12:20:00PM -0700, Pritesh Kothari wrote: > sparse emits the following warning: > lib/dpif-netdev.c:1755:15: warning: Initializer entry defined twice > lib/dpif-netdev.c:1755:15: also defined here > due to a bug in sparse which doesn't like inlined functions which > expands

[ovs-dev] [PATCH 2/2] sparse: workaround for a bug in sparse.

2014-03-28 Thread Pritesh Kothari
sparse emits the following warning: lib/dpif-netdev.c:1755:15: warning: Initializer entry defined twice lib/dpif-netdev.c:1755:15: also defined here due to a bug in sparse which doesn't like inlined functions which expands a #define within it. This commit removes inline to make sparse happy. Sig