[ovs-git] [openvswitch/ovs] bfd2c0: ovn-nbctl: Always initialize output arguments in *...

GitHub noreply at github.com
Wed Jul 11 15:28:51 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: bfd2c0eccedf024e2c2baaf8f43ad4d97480ea0d
      https://github.com/openvswitch/ovs/commit/bfd2c0eccedf024e2c2baaf8f43ad4d97480ea0d
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M ovn/utilities/ovn-nbctl.c

  Log Message:
  -----------
  ovn-nbctl: Always initialize output arguments in *_by_name_or_uuid().

This makes it easier to reason about the outputs, and fixes warnings for
GCC 6.3.x.

Reported-by: Ian Stokes <ian.stokes at intel.com>
Cc: Venkata Anil <vkommadi at redhat.com>
Fixes: 31114af758c7 ("ovn-nbctl: Update logical router port commands.")
Fixes: 80f408f4cffb ("ovn: Use Logical_Switch_Port in NB.")
Fixes: 36f232bca2db ("ovn: l3ha, CLI for logical router port gateway chassis")
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 0b9cf44914cbe959427124c7e24de575bac782e6
      https://github.com/openvswitch/ovs/commit/0b9cf44914cbe959427124c7e24de575bac782e6
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M include/sparse/netinet/in.h

  Log Message:
  -----------
  sparse: Make IN6_IS_ADDR_MC_LINKLOCAL and IN6_ARE_ADDR_EQUAL pickier.

On GNU systems these macros work with arbitrary pointers, but the relevant
standards only require IN6_IS_ADDR_MC_LINKLOCAL to work with in6_addr (and
don't specify IN6_ARE_ADDR_EQUAL at all).  Make the "sparse"
implementations correspondingly pickier so that we catch any introduced
problems more quickly.

CC: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>


Compare: https://github.com/openvswitch/ovs/compare/c2fcc6fcf8ce...0b9cf44914cb
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list