On Fri, 18 Sep 2020 at 17:36, Michael S. Tsirkin <m...@redhat.com> wrote:
>
> found a problem on some build systems. sorry.
> will post v3.

aarch64, osx, x86-64 clang all run into this one:

../../tests/qtest/vhost-user-test.c: In function ‘vu_blk_get_config’:
../../tests/qtest/vhost-user-test.c:1076:14: error: taking address of
packed member of ‘struct VhostUserMsg’ may result in an unaligned
pointer value [-Werror=address-of-packed-member]
 1076 |     config = &msg->payload.config;
      |              ^~~~~~~~~~~~~~~~~~~~

thanks
-- PMM

Reply via email to