summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorDmitry Frolov <frolov@swemel.ru>2023-08-31 15:59:27 +0300
committerKevin Wolf <kwolf@redhat.com>2023-09-08 17:03:09 +0200
commita8d99c0e6c52191c8a3e01ed79b1a9f186a3a91e (patch)
treef9d4f527811a3ffedd1392c3cb5b0a0e802809f4 /include/hw/boards.h
parenta675ca4c620e66c1d45d55037f8fc21286af58cd (diff)
downloadfocaccia-qemu-a8d99c0e6c52191c8a3e01ed79b1a9f186a3a91e.tar.gz
focaccia-qemu-a8d99c0e6c52191c8a3e01ed79b1a9f186a3a91e.zip
vmdk: Clean up bdrv_open_child() return value check
bdrv_open_child() may return NULL.
Usually return value is checked for this function.
Check for return value is more reliable.

Fixes: 24bc15d1f6 ("vmdk: Use BdrvChild instead of BDS for references to extents")

Signed-off-by: Dmitry Frolov <frolov@swemel.ru>
Message-ID: <20230831125926.796205-1-frolov@swemel.ru>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions