[ovs-git] [openvswitch/ovs] 96445f: dpif-netdev-perf: Fix using of uninitialized last_...

Ilya Maximets noreply at github.com
Fri Dec 13 17:50:59 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 96445fa4d9fa0dd8e1f72c0339a2dc6242cd37de
      https://github.com/openvswitch/ovs/commit/96445fa4d9fa0dd8e1f72c0339a2dc6242cd37de
  Author: Lance Yang <Lance.Yang at arm.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M lib/dpif-netdev-perf.c

  Log Message:
  -----------
  dpif-netdev-perf: Fix using of uninitialized last_tsc.

When compiling Open vSwitch on aarch64, the compiler will warn about a
uninitialized variable in lib/dpif-netdev-perf.c. If the clock_gettime
function in rdtsc_syscall fails, the member last_tsc of the
uninitialized struct will be returned. In order to avoid the warnings,
it is necessary to initialize the variable before using.

Reviewed-by: Yanqin Wei <Yanqin.Wei at arm.com>
Reviewed-by: Malvika Gupta <Malvika.Gupta at arm.com>
Signed-off-by: Lance Yang <Lance.Yang at arm.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: bdfab59371f8028d25e4943df20066c3055fa94e
      https://github.com/openvswitch/ovs/commit/bdfab59371f8028d25e4943df20066c3055fa94e
  Author: Lance Yang <Lance.Yang at arm.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M .travis.yml
    M .travis/linux-prepare.sh

  Log Message:
  -----------
  travis: Move x86-only add-on packages to linux-prepare script.

To enable multiple CPU architectures support, it is necessary to move
the x86-only add-on packages from .travis.yml file. Otherwise, the
x86-only add-on packages will break the builds on some other CPU
architectures.

Reviewed-by: Yanqin Wei <Yanqin.Wei at arm.com>
Reviewed-by: Malvika Gupta <Malvika.Gupta at arm.com>
Reviewed-by: Gavin Hu <Gavin.Hu at arm.com>
Reviewed-by: Ruifeng Wang <Ruifeng.Wang at arm.com>
Acked-by: David Wilder <dwilder at us.ibm.com>
Signed-off-by: Lance Yang <Lance.Yang at arm.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: cfc3c50c3b99290ff6c6696998d8fedcf8ad7273
      https://github.com/openvswitch/ovs/commit/cfc3c50c3b99290ff6c6696998d8fedcf8ad7273
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M AUTHORS.rst

  Log Message:
  -----------
  AUTHORS: Add Lance Yang.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/e7cb123ffc9d...cfc3c50c3b99


More information about the git mailing list