[ovs-dev] [PATCH] meta-flow: Correctly byteswap skb_priority/skb_mark for mf_value.

Ben Pfaff blp at nicira.com
Wed Dec 19 00:47:24 UTC 2012


On Tue, Dec 18, 2012 at 04:38:44PM -0800, Jesse Gross wrote:
> On Tue, Dec 18, 2012 at 4:09 PM, Ben Pfaff <blp at nicira.com> wrote:
> > On Tue, Dec 18, 2012 at 04:06:54PM -0800, Jesse Gross wrote:
> >> On Tue, Dec 18, 2012 at 3:54 PM, Ben Pfaff <blp at nicira.com> wrote:
> >> > Fixes the following sparse warnings:
> >> >
> >> > meta-flow.c:947:21: warning: incorrect type in assignment (different base types)
> >> > meta-flow.c:947:21:    expected restricted __be32 [usertype] be32
> >> > meta-flow.c:947:21:    got unsigned int const [unsigned] [usertype] skb_priority
> >> > meta-flow.c:951:21: warning: incorrect type in assignment (different base types)
> >> > meta-flow.c:951:21:    expected restricted __be32 [usertype] be32
> >> > meta-flow.c:951:21:    got unsigned int const [unsigned] [usertype] skb_mark
> >> >
> >> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> >>
> >> Looks good to me.
> >
> > Thanks, pushed.
> 
> The original patch is also on 1.9 so we probably want to apply this
> fix there as well.

Done, thanks.

(I should have noted the commit number of the commit it fixed in the
log message.  Oops.)



More information about the dev mailing list