From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: Peter Xu <peterx@redhat.com>,
qemu-devel@nongnu.org, fam@euphon.net, jasowang@redhat.com,
eric.auger@redhat.com, alex.williamson@redhat.com,
pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/4] intel_iommu: misc fixes for error exposed after error_report_once()
Date: Mon, 21 Jan 2019 22:08:51 -0500 [thread overview]
Message-ID: <20190121220839-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <2af1bd83-feca-5130-5375-45e7184aa802@ozlabs.ru>
On Tue, Jan 22, 2019 at 01:57:50PM +1100, Alexey Kardashevskiy wrote:
>
>
> On 21/01/2019 20:35, Peter Xu wrote:
> > On Mon, Jan 21, 2019 at 12:32:07AM -0800, no-reply@patchew.org wrote:
> >> Patchew URL: https://patchew.org/QEMU/20190116030815.27273-1-peterx@redhat.com/
> >>
> >>
> >>
> >> 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
> >> time make docker-test-mingw@fedora SHOW_ENV=1 J=14
> >> === TEST SCRIPT END ===
> >>
> >> CC hw/block/pflash_cfi01.o
> >> In function 'acpi_table_install',
> >> inlined from 'acpi_table_add' at /tmp/qemu-test/src/hw/acpi/core.c:296:5:
> >> /tmp/qemu-test/src/hw/acpi/core.c:184:9: error: 'strncpy' specified bound 4 equals destination size [-Werror=stringop-truncation]
> >> strncpy(ext_hdr->sig, hdrs->sig, sizeof ext_hdr->sig);
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> /tmp/qemu-test/src/hw/acpi/core.c:203:9: error: 'strncpy' specified bound 6 equals destination size [-Werror=stringop-truncation]
> >> strncpy(ext_hdr->oem_id, hdrs->oem_id, sizeof ext_hdr->oem_id);
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> /tmp/qemu-test/src/hw/acpi/core.c:207:9: error: 'strncpy' specified bound 8 equals destination size [-Werror=stringop-truncation]
> >> strncpy(ext_hdr->oem_table_id, hdrs->oem_table_id,
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> sizeof ext_hdr->oem_table_id);
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> /tmp/qemu-test/src/hw/acpi/core.c:216:9: error: 'strncpy' specified bound 4 equals destination size [-Werror=stringop-truncation]
> >> strncpy(ext_hdr->asl_compiler_id, hdrs->asl_compiler_id,
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> sizeof ext_hdr->asl_compiler_id);
> >> ---
> >> make: *** [/tmp/qemu-test/src/rules.mak:69: hw/acpi/core.o] Error 1
> >> make: *** Waiting for unfinished jobs....
> >> /tmp/qemu-test/src/block/sheepdog.c: In function 'find_vdi_name':
> >> /tmp/qemu-test/src/block/sheepdog.c:1239:5: error: 'strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation]
> >> strncpy(buf + SD_MAX_VDI_LEN, tag, SD_MAX_VDI_TAG_LEN);
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> cc1: all warnings being treated as errors
> >> make: *** [/tmp/qemu-test/src/rules.mak:69: block/sheepdog.o] Error 1
> >> /tmp/qemu-test/src/hw/acpi/aml-build.c: In function 'build_header':
> >> /tmp/qemu-test/src/hw/acpi/aml-build.c:1535:9: error: 'strncpy' specified bound 6 equals destination size [-Werror=stringop-truncation]
> >> strncpy((char *)h->oem_id, oem_id, sizeof h->oem_id);
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> /tmp/qemu-test/src/hw/acpi/aml-build.c:1541:9: error: 'strncpy' specified bound 8 equals destination size [-Werror=stringop-truncation]
> >> strncpy((char *)h->oem_table_id, oem_table_id, sizeof(h->oem_table_id));
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> cc1: all warnings being treated as errors
> >
> > I'm uncertain about these errors but it seems to be more likely to be
> > caused by some configuration or compiler change instead of the series
> > itself since this series never changed either acpi or sheepdog code.
> > So I'll temporarily ignore them...
>
>
> I am getting these too and I do not touch the mentioned files and
> folders ever.
>
>
>
> --
> Alexey
You want 9cbb8eca1729eab1123847e37454975bb555008a I think.
--
MST
prev parent reply other threads:[~2019-01-22 3:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 3:08 [Qemu-devel] [PATCH v2 0/4] intel_iommu: misc fixes for error exposed after error_report_once() Peter Xu
2019-01-16 3:08 ` [Qemu-devel] [PATCH v2 1/4] intel_iommu: fix operator in vtd_switch_address_space Peter Xu
2019-01-16 3:08 ` [Qemu-devel] [PATCH v2 2/4] intel_iommu: reset intr_enabled when system reset Peter Xu
2019-01-16 3:08 ` [Qemu-devel] [PATCH v2 3/4] pci/msi: export msi_is_masked() Peter Xu
2019-01-16 3:08 ` [Qemu-devel] [PATCH v2 4/4] i386/kvm: ignore masked irqs when update msi routes Peter Xu
2019-01-21 8:32 ` [Qemu-devel] [PATCH v2 0/4] intel_iommu: misc fixes for error exposed after error_report_once() no-reply
2019-01-21 9:35 ` Peter Xu
2019-01-22 2:57 ` Alexey Kardashevskiy
2019-01-22 3:08 ` Michael S. Tsirkin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190121220839-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=aik@ozlabs.ru \
--cc=alex.williamson@redhat.com \
--cc=eric.auger@redhat.com \
--cc=fam@euphon.net \
--cc=jasowang@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).