aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx/qapidoc.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2024-02-06 14:06:09 -0500
committerKevin Wolf <kwolf@redhat.com>2024-02-07 14:44:19 +0100
commit8802f4f4e3a3e7e0ffc778cab853b14349574a7b (patch)
tree2611c3eeeca020e2149a4072880efa664d38d576 /docs/sphinx/qapidoc.py
parentf2eea93c6b410efccc18f4b47090b4a4e842afbd (diff)
downloadqemu-8802f4f4e3a3e7e0ffc778cab853b14349574a7b.zip
qemu-8802f4f4e3a3e7e0ffc778cab853b14349574a7b.tar.gz
qemu-8802f4f4e3a3e7e0ffc778cab853b14349574a7b.tar.bz2
virtio-blk: declare VirtIOBlock::rq with a type
The VirtIOBlock::rq field has had the type void * since its introduction in commit 869a5c6df19a ("Stop VM on error in virtio-blk. (Gleb Natapov)"). Perhaps this was done to avoid the forward declaration of VirtIOBlockReq. Hanna Czenczek <hreitz@redhat.com> pointed out the missing type. Specify the actual type because there is no need to use void * here. Suggested-by: Hanna Czenczek <hreitz@redhat.com> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Hanna Czenczek <hreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20240206190610.107963-5-stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/sphinx/qapidoc.py')
0 files changed, 0 insertions, 0 deletions