[ovs-build] Fixed: blp/ovs-builds#3 (branch-2.5 - 20e7029)

Travis CI builds at travis-ci.org
Tue Oct 16 22:09:23 UTC 2018


Build Update for blp/ovs-builds
-------------------------------------

Build: #3
Status: Fixed

Duration: 28 mins and 30 secs
Commit: 20e7029 (branch-2.5)
Author: Joe Stringer
Message: test-hash: Fix unaligned pointer value error.

Clang 4.0 complains:

../tests/test-hash.c:160:16: error: taking address of packed member 'b' of
class or structure 'offset_ovs_u128' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
        in0 = &in0_data.b;

Set the bit in the aligned u128 first then copy the contents into the
offset u128 so that we don't have to take the address of the non-aligned
u128 and pass it to set_bit128.

For the 256byte_hash, fix it up so that it's actually testing the 256B
hash inside a 32-bit offset u128 as well.

Suggested-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Joe Stringer <joe at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>

View the changeset: https://github.com/blp/ovs-builds/compare/28e33293b843...20e7029d3ca8

View the full build log and details: https://travis-ci.org/blp/ovs-builds/builds/442399716?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the blp/ovs-builds repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=21593631&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20181016/df634659/attachment.html>


More information about the build mailing list