Re: [PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-30 Thread Eugenio Perez Martin
On Mon, Sep 30, 2024 at 10:11 AM Stefano Garzarella wrote: > > On Fri, Sep 27, 2024 at 3:08 PM Eugenio Perez Martin > wrote: > > > > On Wed, Sep 25, 2024 at 10:08 AM Stefano Garzarella > > wrote: > > > > > > On Tue, Sep 24, 2024 at 05:05:49PM GMT, marcandre.lur...@redhat.com wrote: > > > >From:

Re: [PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-30 Thread Stefano Garzarella
On Fri, Sep 27, 2024 at 3:08 PM Eugenio Perez Martin wrote: > > On Wed, Sep 25, 2024 at 10:08 AM Stefano Garzarella > wrote: > > > > On Tue, Sep 24, 2024 at 05:05:49PM GMT, marcandre.lur...@redhat.com wrote: > > >From: Marc-André Lureau > > > > For the title: I don't think it is a false positiv

Re: [PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-30 Thread Stefano Garzarella
On Fri, Sep 27, 2024 at 3:05 PM Eugenio Perez Martin wrote: > > On Tue, Sep 24, 2024 at 3:07 PM wrote: > > > > From: Marc-André Lureau > > > > ../hw/virtio/vhost-shadow-virtqueue.c:545:13: error: ‘r’ may be used > > uninitialized [-Werror=maybe-uninitialized] > > > > Signed-off-by: Marc-André L

Re: [PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-27 Thread Eugenio Perez Martin
On Wed, Sep 25, 2024 at 10:08 AM Stefano Garzarella wrote: > > On Tue, Sep 24, 2024 at 05:05:49PM GMT, marcandre.lur...@redhat.com wrote: > >From: Marc-André Lureau > > For the title: I don't think it is a false positive, but a real fix, > indeed maybe not a complete one. > > > > >../hw/virtio/vh

Re: [PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-27 Thread Eugenio Perez Martin
On Tue, Sep 24, 2024 at 3:07 PM wrote: > > From: Marc-André Lureau > > ../hw/virtio/vhost-shadow-virtqueue.c:545:13: error: ‘r’ may be used > uninitialized [-Werror=maybe-uninitialized] > > Signed-off-by: Marc-André Lureau > --- > hw/virtio/vhost-shadow-virtqueue.c | 2 +- > 1 file changed, 1

Re: [PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-25 Thread Stefano Garzarella
On Tue, Sep 24, 2024 at 05:05:49PM GMT, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau For the title: I don't think it is a false positive, but a real fix, indeed maybe not a complete one. ../hw/virtio/vhost-shadow-virtqueue.c:545:13: error: ‘r’ may be used uninitialized [-Werr

[PATCH v2 18/22] hw/virtio: fix -Werror=maybe-uninitialized false-positive

2024-09-24 Thread marcandre . lureau
From: Marc-André Lureau ../hw/virtio/vhost-shadow-virtqueue.c:545:13: error: ‘r’ may be used uninitialized [-Werror=maybe-uninitialized] Signed-off-by: Marc-André Lureau --- hw/virtio/vhost-shadow-virtqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio/vhost-