diff options
author | Alexandra Diupina <adiupina@astralinux.ru> | 2023-11-10 20:41:04 +0300 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-13 16:56:24 +0100 |
commit | 4c7ae73caf7e794a7bf909906e21381f5f01b369 (patch) | |
tree | b55ab203cc45ca0278e18b77432d96e63f21e844 /hw/display | |
parent | 52c773ce893f6321f20c80101aa4ea9489a6f701 (diff) | |
download | qemu-4c7ae73caf7e794a7bf909906e21381f5f01b369.zip qemu-4c7ae73caf7e794a7bf909906e21381f5f01b369.tar.gz qemu-4c7ae73caf7e794a7bf909906e21381f5f01b369.tar.bz2 |
hw/display/vmware_vga: fix probably typo
When calling trace_vmware_verify_rect_greater_than_bound() replace
"y" with "h" and y with h
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 02218aedb1 ("hw/display/vmware_vga: replace fprintf calls with trace events")
Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231110174104.13280-1-adiupina@astralinux.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/display')
-rw-r--r-- | hw/display/vmware_vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index 7490d43..3f26bea 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -336,8 +336,8 @@ static inline bool vmsvga_verify_rect(DisplaySurface *surface, return false; } if (h > SVGA_MAX_HEIGHT) { - trace_vmware_verify_rect_greater_than_bound(name, "y", SVGA_MAX_HEIGHT, - y); + trace_vmware_verify_rect_greater_than_bound(name, "h", SVGA_MAX_HEIGHT, + h); return false; } if (y + h > surface_height(surface)) { |