From: Max Reitz <mreitz@redhat.com>
To: qemu-devel@nongnu.org
Cc: famz@redhat.com, qemu-block@nongnu.org, berto@igalia.com,
mdroth@linux.vnet.ibm.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link
Date: Mon, 26 Feb 2018 12:50:59 +0100 [thread overview]
Message-ID: <cff2322c-8a11-e174-ccf1-2631e467bc68@redhat.com> (raw)
In-Reply-To: <151949532854.973.14187903904976853026@bdbb90650ae5>
[-- Attachment #1: Type: text/plain, Size: 2333 bytes --]
On 2018-02-24 19:02, no-reply@patchew.org wrote:
> Hi,
>
> This series failed build test on s390x host. Please find the details below.
[...]
> In file included from /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/qemu/osdep.h:36:0,
> from /var/tmp/patchew-tester-tmp-wr4zoy33/src/block.c:25:
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/block.c: In function ‘bdrv_open_inherit’:
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/qemu/compiler.h:63:34: error: dereferencing pointer to incomplete type ‘QNull {aka struct QNull}’
> const typeof(((type *) 0)->member) *__mptr = (ptr); \
> ^
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/qapi/qmp/qobject.h:65:5: note: in expansion of macro ‘container_of’
> container_of(qobject_check_type(obj, glue(QTYPE_CAST_TO_, type)) ?: \
> ^~~~~~~~~~~~
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/block.c:2603:9: note: in expansion of macro ‘qobject_to’
> if (qobject_to(qdict_get(options, "backing"), QNull) != NULL ||
> ^~~~~~~~~~
> In file included from /usr/include/sched.h:29:0,
> from /usr/include/pthread.h:23,
> from /usr/include/glib-2.0/glib/deprecated/gthread.h:128,
> from /usr/include/glib-2.0/glib.h:108,
> from /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/glib-compat.h:19,
> from /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/qemu/osdep.h:107,
> from /var/tmp/patchew-tester-tmp-wr4zoy33/src/block.c:25:
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/qemu/compiler.h:64:37: error: invalid use of incomplete typedef ‘QNull {aka struct QNull}’
> (type *) ((char *) __mptr - offsetof(type, member));})
> ^
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/include/qapi/qmp/qobject.h:65:5: note: in expansion of macro ‘container_of’
> container_of(qobject_check_type(obj, glue(QTYPE_CAST_TO_, type)) ?: \
> ^~~~~~~~~~~~
> /var/tmp/patchew-tester-tmp-wr4zoy33/src/block.c:2603:9: note: in expansion of macro ‘qobject_to’
> if (qobject_to(qdict_get(options, "backing"), QNull) != NULL ||
> ^~~~~~~~~~
I guess I missed 6b67395762a4c8b. Oops.
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 512 bytes --]
next prev parent reply other threads:[~2018-02-26 11:51 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-24 15:40 [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link Max Reitz
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 1/7] compiler: Add QEMU_BUILD_BUG_MSG() macro Max Reitz
2018-02-24 20:08 ` Eric Blake
2018-02-27 13:33 ` Alberto Garcia
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 2/7] qapi: Add qobject_to() Max Reitz
2018-02-24 20:57 ` Eric Blake
2018-02-26 11:58 ` Max Reitz
2018-03-19 19:36 ` Eric Blake
2018-03-19 19:38 ` Max Reitz
2018-02-27 13:45 ` Alberto Garcia
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 3/7] qapi: Replace qobject_to_X(o) by qobject_to(o, X) Max Reitz
2018-02-24 21:04 ` Eric Blake
2018-02-26 12:01 ` Max Reitz
2018-02-27 14:47 ` Eric Blake
2018-02-28 18:08 ` Max Reitz
2018-03-10 21:48 ` Eric Blake
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 4/7] qapi: Remove qobject_to_X() functions Max Reitz
2018-02-24 21:05 ` Eric Blake
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 5/7] qapi: Make more of qobject_to() Max Reitz
2018-02-24 21:07 ` Eric Blake
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 6/7] block: Handle null backing link Max Reitz
2018-02-24 21:09 ` Eric Blake
2018-02-24 15:40 ` [Qemu-devel] [PATCH v3 7/7] block: Deprecate "backing": "" Max Reitz
2018-02-24 18:02 ` [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link no-reply
2018-02-26 11:50 ` Max Reitz [this message]
2018-02-24 19:51 ` no-reply
2018-02-24 20:19 ` no-reply
2018-02-24 20:30 ` no-reply
2018-02-25 23:38 ` no-reply
2018-02-26 6:11 ` no-reply
2018-03-09 20:11 ` Eric Blake
2018-03-10 22:34 ` Eric Blake
2018-03-12 12:22 ` Max Reitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cff2322c-8a11-e174-ccf1-2631e467bc68@redhat.com \
--to=mreitz@redhat.com \
--cc=armbru@redhat.com \
--cc=berto@igalia.com \
--cc=famz@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).