On 2018-02-24 19:02, [email protected] 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
