[ovs-git] Open vSwitch: sparse: workaround for a bug in sparse. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Mar 28 21:46:05 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  5794e276b48638c7e44a763481aa051111de1676 (commit)
       via  8605a29b26ceb7dd6ae001b70ffcf158aab406ee (commit)
      from  9b516652a1b0113faf6cfa4df2039b7c8a217838 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5794e276b48638c7e44a763481aa051111de1676
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5794e276b48638c7e44a763481aa051111de1676
Author: Pritesh Kothari <pritesh.kothari at cisco.com>
		
sparse: workaround for a bug in sparse.
		
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.

Signed-off-by: Pritesh Kothari <pritesh.kothari at cisco.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 8605a29b26ceb7dd6ae001b70ffcf158aab406ee
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8605a29b26ceb7dd6ae001b70ffcf158aab406ee
Author: Pritesh Kothari <pritesh.kothari at cisco.com>
		
sparse: fix the order of include paths to make sparse happy.
		
This fix restores the order of include path such that the local include/ comes
before the system /usr/include in the #include path. Thus by making sure that
include/linux/types.h and include/linux/openvswitch.h take precedence over the
similar files in /usr/include/ directory.

Signed-off-by: Pritesh Kothari <pritesh.kothari at cisco.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 Makefile.am       |    4 ++--
 lib/dpif-netdev.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list