[ovs-git] Open vSwitch: datapath: Get rid of compat.h, compat26.h in favor of modern approach. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 13 20:30:25 UTC 2011


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  f632c8fc817ff5597007a795b51574bddd32563a (commit)
       via  bbdc31bcff1efb9638e479b7e33b701e1159c7fe (commit)
      from  829d41bdc8fd4841b97eedf2ae7e6b8309e951e1 (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 f632c8fc817ff5597007a795b51574bddd32563a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f632c8fc817ff5597007a795b51574bddd32563a
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Get rid of compat.h, compat26.h in favor of modern approach.
		
I had completely forgotten that we had a top-level compat.h and compat26.h.
It's better to distribute their contents to individual compat headers, so
this commit does so and deletes them.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit bbdc31bcff1efb9638e479b7e33b701e1159c7fe
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bbdc31bcff1efb9638e479b7e33b701e1159c7fe
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Use NULL for null pointer in compat code.
		
Fixes a sparse warning on 2.6.18:

datapath/linux-2.6/compat-2.6/include/net/dst.h:12:20: warning: Using plain
integer as NULL pointer

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/Modules.mk                                |    1 -
 datapath/brcompat.c                                |    3 +-
 datapath/compat.h                                  |   25 -------------
 datapath/datapath.c                                |    4 +--
 datapath/flow.c                                    |    4 +--
 datapath/linux-2.6/Modules.mk                      |    1 -
 datapath/linux-2.6/compat-2.6/compat26.h           |   37 --------------------
 .../linux-2.6/compat-2.6/include/linux/kernel.h    |    4 ++
 .../linux-2.6/compat-2.6/include/linux/netdevice.h |    7 ++++
 datapath/linux-2.6/compat-2.6/include/linux/slab.h |    4 ++
 datapath/linux-2.6/compat-2.6/include/net/dst.h    |    2 +-
 datapath/vport-netdev.c                            |    4 +--
 12 files changed, 20 insertions(+), 76 deletions(-)
 delete mode 100644 datapath/compat.h
 delete mode 100644 datapath/linux-2.6/compat-2.6/compat26.h


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list