[ovs-git] Open vSwitch: dpif-netdev: Fix a compilation warning (master)

dev at openvswitch.org dev at openvswitch.org
Tue Mar 25 06:06:39 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  b8da6cce47501f003c9791054a59a5a6632e4c2c (commit)
      from  8617affff4f6570ef9ebeafe471e7f14a2c630e3 (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 b8da6cce47501f003c9791054a59a5a6632e4c2c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b8da6cce47501f003c9791054a59a5a6632e4c2c
Author: Andy Zhou <azhou at nicira.com>
		
dpif-netdev: Fix a compilation warning
		
Building OVS tree without DPDK produced the following warning message:
    lib/dpif-netdev.c:1868:5: error: statement with no effect

This error message is complaining the return value of the following
macro not being used.
	#define pmd_thread_setaffinity_cpu(c) (0)

The patch fixed this warnning by making the stub functions
as inline funtions.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


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

Summary of changes:
 lib/netdev-dpdk.h |   33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list