[ovs-dev] [PATCH 1/2] ovsdb-server: Store databases in shash instead of array.

Ben Pfaff blp at nicira.com
Mon Jun 24 19:39:34 UTC 2013


On Thu, Jun 20, 2013 at 07:38:47AM -0700, Gurucharan Shetty wrote:
> An upcoming commit provides the ability to add and remove databases.
> Having the databases in a shash instead of an array makes it easier
> to add and remove databases.
> 
> Feature #14595.
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

I get the following from GCC:

cc1: warnings being treated as errors
../ovsdb/ovsdb-server.c: In function ‘open_db’:
../ovsdb/ovsdb-server.c:313: error: passing argument 1 of ‘ovsdb_jsonrpc_server_add_db’ discards qualifiers from pointer target type
../ovsdb/jsonrpc-server.h:27: note: expected ‘struct ovsdb_jsonrpc_server *’ but argument is of type ‘const struct ovsdb_jsonrpc_server *’

I didn't really start to look at the patch otherwise yet.



More information about the dev mailing list