On Tue, Jan 27, 2015 at 05:22:30PM +0900, Simon Horman wrote:
> This parameter is not modified so it may be marked as const.
>
> Signed-off-by: Simon Horman <[email protected]>
Apologies, I seem to have sent this twice. Please ignore this duplicate.
> ---
> lib/ofp-util.c | 6 +++---
> lib/ofp-util.h | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/lib/ofp-util.c b/lib/ofp-util.c
> index 2270a93..bf55fb2 100644
> --- a/lib/ofp-util.c
> +++ b/lib/ofp-util.c
> @@ -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);
> diff --git a/lib/ofp-util.h b/lib/ofp-util.h
> index d7cf5ca..df4d044 100644
> --- a/lib/ofp-util.h
> +++ b/lib/ofp-util.h
> @@ -1079,7 +1079,7 @@ int ofputil_decode_group_desc_reply(struct
> ofputil_group_desc *,
> struct ofpbuf *, enum ofp_version);
>
> void ofputil_append_group_desc_reply(const struct ofputil_group_desc *,
> - struct ovs_list *buckets,
> + const struct ovs_list *buckets,
> struct ovs_list *replies);
>
> struct ofputil_bundle_ctrl_msg {
> --
> 2.1.4
>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev