[ovs-git] [openvswitch/ovs] f0aa38: dpif-netdev: Avoid "sparse" warning.

GitHub noreply at github.com
Mon Dec 11 21:43:32 UTC 2017

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f0aa3801f1e89a5f64d2290caea3c4e87262ffe9
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-12-11 (Mon, 11 Dec 2017)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  dpif-netdev: Avoid "sparse" warning.

"sparse" warns when odp_port_t is used directly in an inequality
comparison.  This avoids the warning.

CC: Kevin Traynor <ktraynor at redhat.com>
Fixes: a130f1a89bd8 ("dpif-netdev: Add port/queue tiebreaker to rxq_cycle_sort.")
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Acked-by: Ian Stokes <ian.stokes at intel.com>

More information about the git mailing list