qemu-devel
[Top][All Lists]
Advanced

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

Re: [PULL v2 00/27] Block patches


From: Peter Maydell
Subject: Re: [PULL v2 00/27] Block patches
Date: Thu, 4 Feb 2021 17:35:31 +0000

On Thu, 4 Feb 2021 at 15:43, Stefan Hajnoczi <stefanha@redhat.com> wrote:
>
> The following changes since commit db754f8ccaf2f073c9aed46a4389e9c0c2080399:
>
>   Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210202' 
> into staging (2021-02-03 19:35:57 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/stefanha/qemu.git tags/block-pull-request
>
> for you to fetch changes up to abe42229db7b87caa11b3c02835ebf9d384e0bd4:
>
>   docs: fix Parallels Image "dirty bitmap" section (2021-02-04 15:17:10 +0000)
>
> ----------------------------------------------------------------
> Pull request
>
> v2:
>  * Rebase to resolve memory_region_init_ram_from_file() conflict due to the 
> new
>    offset argument that was added in qemu.git/master in the meantime [Peter]
>
> ----------------------------------------------------------------

Fails to compile, clang:

../../hw/remote/mpqemu-link.c:40:29: error: suggest braces around
initialization of subobject [-Werror,-Wmissing-braces]
    struct iovec send[2] = {0};
                            ^
                            {}


Don't use {0}, use {} -- the former may be the C standard thing,
but the latter is the one all our supported compilers accept
without complaint. (cf eg commit 039d4e3df0).

thanks
-- PMM



reply via email to

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