[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 0/2] Block patches
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [PULL 0/2] Block patches |
Date: |
Thu, 26 Sep 2019 12:06:11 +0000 |
26.09.2019 9:16, address@hidden wrote:
> Patchew URL: https://patchew.org/QEMU/address@hidden/
>
>
>
> Hi,
>
> This series failed the docker-mingw@fedora build test. Please find the
> testing commands and
> their output below. If you have Docker installed, you can probably reproduce
> it
> locally.
>
> === TEST SCRIPT BEGIN ===
> #! /bin/bash
> export ARCH=x86_64
> make docker-image-fedora V=1 NETWORK=1
> time make docker-test-mingw@fedora J=14 NETWORK=1
> === TEST SCRIPT END ===
>
> CC authz/list.o
> CC authz/listfile.o
> /tmp/qemu-test/src/util/iov.c: In function 'qemu_iovec_init_extended':
> /tmp/qemu-test/src/util/iov.c:451:9: error: 'mid_iov' may be used
> uninitialized in this function [-Werror=maybe-uninitialized]
> memcpy(p, mid_iov, mid_niov * sizeof(*p));
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
>
> The full log is available at
> http://patchew.org/logs/address@hidden/testing.docker-mingw@fedora/?type=message.
> ---
> Email generated automatically by Patchew [https://patchew.org/].
> Please send your feedback to address@hidden
>
Actually it's obvious that it is initialized here:
We go here only if mid_niov, which may be set only in "if (mid_len)", and
mid_iov is set in same "if (mid_len)".
My clang don't warn.
Still, we may just initialize mid_iov to NULL and don't care.
--
Best regards,
Vladimir