aboutsummaryrefslogtreecommitdiff
path: root/include/hw/cxl/cxl_component.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2023-09-11 17:54:35 -0400
committerMichael S. Tsirkin <mst@redhat.com>2023-10-04 18:15:06 -0400
commite77db790d1bdef9370d23a0a9350c084ce45d91d (patch)
tree17c3eb14e7130d563e813c181c889ed5ee05fac0 /include/hw/cxl/cxl_component.h
parent40a6b8935d5862840c602f977564d2ebbea60ed6 (diff)
downloadqemu-e77db790d1bdef9370d23a0a9350c084ce45d91d.zip
qemu-e77db790d1bdef9370d23a0a9350c084ce45d91d.tar.gz
qemu-e77db790d1bdef9370d23a0a9350c084ce45d91d.tar.bz2
vdpa: fix gcc cvq_isolated uninitialized variable warning
gcc 13.2.1 emits the following warning: net/vhost-vdpa.c: In function ‘net_vhost_vdpa_init.constprop’: net/vhost-vdpa.c:1394:25: error: ‘cvq_isolated’ may be used uninitialized [-Werror=maybe-uninitialized] 1394 | s->cvq_isolated = cvq_isolated; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ net/vhost-vdpa.c:1355:9: note: ‘cvq_isolated’ was declared here 1355 | int cvq_isolated; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors Cc: Eugenio Pérez <eperezma@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20230911215435.4156314-1-stefanha@redhat.com> Acked-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/cxl/cxl_component.h')
0 files changed, 0 insertions, 0 deletions