[ovs-dev] [PATCH] ofp-parse: Fix sparse warnings about comparing ofp_port_ts.

Joe Stringer joe at ovn.org
Thu Sep 15 20:43:54 UTC 2016


On 14 September 2016 at 20:59, Ben Pfaff <blp at ovn.org> wrote:
> Without this, sparse complains:
>
>     lib/ofp-parse.c:588:19: warning: restricted ofp_port_t degrades to integer
>     lib/ofp-parse.c:588:31: warning: restricted ofp_port_t degrades to integer
>
> This is one of the irritating bits of using sparse, but on the whole I
> think it saves us pretty often.
>
> CC: Jarno Rajahalme <jarno at ovn.org>
> Fixes: 6dd3c787f591 ("ofproto: Support packet_outs in bundles.")
> Signed-off-by: Ben Pfaff <blp at ovn.org>

Acked-by: Joe Stringer <joe at ovn.org>



More information about the dev mailing list