Re: [ovs-dev] [PATCH] ofp-parse: Fix sparse warnings about comparing ofp_port_ts.
On Thu, Sep 15, 2016 at 01:43:54PM -0700, Joe Stringer wrote: > On 14 September 2016 at 20:59, Ben Pfaff 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 > > Fixes: 6dd3c787f591 ("ofproto: Support packet_outs in bundles.") > > Signed-off-by: Ben Pfaff > > Acked-by: Joe Stringer Thanks, applied to master. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev
Re: [ovs-dev] [PATCH] ofp-parse: Fix sparse warnings about comparing ofp_port_ts.
On 14 September 2016 at 20:59, Ben Pfaff 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 > Fixes: 6dd3c787f591 ("ofproto: Support packet_outs in bundles.") > Signed-off-by: Ben Pfaff Acked-by: Joe Stringer ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev