[ovs-git] [openvswitch/ovs] dfaf79: dpif: Refactor obj type from void pointer to dpif_...

GitHub noreply at github.com
Thu Jul 27 08:22:44 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: dfaf79ddd94f36648b3652b967ade7b5ff6f3bc2
      https://github.com/openvswitch/ovs/commit/dfaf79ddd94f36648b3652b967ade7b5ff6f3bc2
  Author: Roi Dayan <roid at mellanox.com>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M lib/dpif-netlink.c
    M lib/dpif.c
    M lib/dpif.h
    M lib/netdev-tc-offloads.c
    M lib/netdev.c
    M lib/netdev.h

  Log Message:
  -----------
  dpif: Refactor obj type from void pointer to dpif_class

It's basically what is being passed today and passing a specific
type adds a compiler type check.

Signed-off-by: Roi Dayan <roid at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list