mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ofp-util: constify buckets parameter of ofputil_append*_group_desc_reply()
This parameter is not modified so it may be marked as const. Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
This commit is contained in:
committed by
Thomas Graf
parent
a52b0492a4
commit
1667bb3498
@@ -7408,7 +7408,7 @@ ofputil_put_ofp15_bucket(const struct ofputil_bucket *bucket,
|
||||
|
||||
static void
|
||||
ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||
struct ovs_list *buckets,
|
||||
const struct ovs_list *buckets,
|
||||
struct ovs_list *replies,
|
||||
enum ofp_version version)
|
||||
{
|
||||
@@ -7432,7 +7432,7 @@ ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||
|
||||
static void
|
||||
ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||
struct ovs_list *buckets,
|
||||
const struct ovs_list *buckets,
|
||||
struct ovs_list *replies,
|
||||
enum ofp_version version)
|
||||
{
|
||||
@@ -7462,7 +7462,7 @@ ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||
* initialized with ofpmp_init(). */
|
||||
void
|
||||
ofputil_append_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||
struct ovs_list *buckets,
|
||||
const struct ovs_list *buckets,
|
||||
struct ovs_list *replies)
|
||||
{
|
||||
enum ofp_version version = ofpmp_version(replies);
|
||||
|
Reference in New Issue
Block a user