Re: [ovs-dev] [PATCH] Make the string parameters const for do_flow_mod__()

2012-02-27 Thread Ben Pfaff
On Fri, Feb 24, 2012 at 08:06:21AM +0900, Simon Horman wrote: > Make the string parameter of parse_ofp_flow_stats_request_str() and > parse_ofp_flow_mod_str() const > > * Both parse_ofp_flow_stats_request_str() and parse_ofp_flow_mod_str() > only pass their string parameter to it to parse_ofp_st

[ovs-dev] [PATCH] Make the string parameters const for do_flow_mod__()

2012-02-23 Thread Simon Horman
Make the string parameter of parse_ofp_flow_stats_request_str() and parse_ofp_flow_mod_str() const * Both parse_ofp_flow_stats_request_str() and parse_ofp_flow_mod_str() only pass their string parameter to it to parse_ofp_str() which treats the parameter as const. * do_flow_mod__() may pass a