[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link |
Date: |
Mon, 26 Feb 2018 12:50:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 2018-02-24 19:02, address@hidden 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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 4/7] qapi: Remove qobject_to_X() functions, (continued)
- [Qemu-devel] [PATCH v3 4/7] qapi: Remove qobject_to_X() functions, Max Reitz, 2018/02/24
- [Qemu-devel] [PATCH v3 6/7] block: Handle null backing link, Max Reitz, 2018/02/24
- [Qemu-devel] [PATCH v3 5/7] qapi: Make more of qobject_to(), Max Reitz, 2018/02/24
- [Qemu-devel] [PATCH v3 7/7] block: Deprecate "backing": "", Max Reitz, 2018/02/24
- [Qemu-devel] [PATCH v3 3/7] qapi: Replace qobject_to_X(o) by qobject_to(o, X), Max Reitz, 2018/02/24
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link, no-reply, 2018/02/24
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link,
Max Reitz <=
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link, no-reply, 2018/02/24
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link, no-reply, 2018/02/24
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link, no-reply, 2018/02/24
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link, no-reply, 2018/02/25
- Re: [Qemu-devel] [PATCH v3 0/7] block: Handle null backing link, no-reply, 2018/02/26