[ovs-dev] [PATCH] Make struct stress_option members const

Simon Horman horms at verge.net.au
Mon Mar 19 22:12:58 UTC 2012


On Mon, Mar 19, 2012 at 11:18:10AM -0700, Ben Pfaff wrote:
> When I apply this patch I get:
> 
> ../ovsdb/ovsdb-server.c:128:32: warning: incorrect type in argument 1 (different modifiers)
> ../ovsdb/ovsdb-server.c:128:32:    expected char **argv
> ../ovsdb/ovsdb-server.c:128:32:    got char const **<noident>
> ../ovsdb/ovsdb-server.c: In function ‘main’:
> ../ovsdb/ovsdb-server.c:128: error: passing argument 1 of ‘process_start’ from incompatible pointer type
> ../lib/process.h:26: note: expected ‘char **’ but argument is of type ‘const char **’

Sorry, I have two related patches and I seem to have managed
to post the dubious one that wasn't finished.



More information about the dev mailing list