qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH v3 0/7] block: Handle null backing


From: Max Reitz
Subject: Re: [Qemu-block] [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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]