Blame 0001-include-ui-rect.h-fix-qemu_rect_init-mis-assignment.patch
|
Daniel P. Berrangé |
e1b58d |
From 9d5b42beb6978dc6219d5dc029c9d453c6b8d503 Mon Sep 17 00:00:00 2001
|
|
Daniel P. Berrangé |
e1b58d |
From: Elen Avan <elen.avan@bk.ru>
|
|
Daniel P. Berrangé |
e1b58d |
Date: Fri, 22 Dec 2023 22:17:21 +0300
|
|
Daniel P. Berrangé |
e1b58d |
Subject: [PATCH] include/ui/rect.h: fix qemu_rect_init() mis-assignment
|
|
Daniel P. Berrangé |
e1b58d |
MIME-Version: 1.0
|
|
Daniel P. Berrangé |
e1b58d |
Content-Type: text/plain; charset=UTF-8
|
|
Daniel P. Berrangé |
e1b58d |
Content-Transfer-Encoding: 8bit
|
|
Daniel P. Berrangé |
e1b58d |
|
|
Daniel P. Berrangé |
e1b58d |
Signed-off-by: Elen Avan <elen.avan@bk.ru>
|
|
Daniel P. Berrangé |
e1b58d |
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2051
|
|
Daniel P. Berrangé |
e1b58d |
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2050
|
|
Daniel P. Berrangé |
e1b58d |
Fixes: a200d53b1fde "virtio-gpu: replace PIXMAN for region/rect test"
|
|
Daniel P. Berrangé |
e1b58d |
Cc: qemu-stable@nongnu.org
|
|
Daniel P. Berrangé |
e1b58d |
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
|
|
Daniel P. Berrangé |
e1b58d |
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
Daniel P. Berrangé |
e1b58d |
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|
|
Daniel P. Berrangé |
e1b58d |
---
|
|
Daniel P. Berrangé |
e1b58d |
include/ui/rect.h | 2 +-
|
|
Daniel P. Berrangé |
e1b58d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Daniel P. Berrangé |
e1b58d |
|
|
Daniel P. Berrangé |
e1b58d |
diff --git a/include/ui/rect.h b/include/ui/rect.h
|
|
Daniel P. Berrangé |
e1b58d |
index 94898f92d0..68f05d78a8 100644
|
|
Daniel P. Berrangé |
e1b58d |
--- a/include/ui/rect.h
|
|
Daniel P. Berrangé |
e1b58d |
+++ b/include/ui/rect.h
|
|
Daniel P. Berrangé |
e1b58d |
@@ -19,7 +19,7 @@ static inline void qemu_rect_init(QemuRect *rect,
|
|
Daniel P. Berrangé |
e1b58d |
uint16_t width, uint16_t height)
|
|
Daniel P. Berrangé |
e1b58d |
{
|
|
Daniel P. Berrangé |
e1b58d |
rect->x = x;
|
|
Daniel P. Berrangé |
e1b58d |
- rect->y = x;
|
|
Daniel P. Berrangé |
e1b58d |
+ rect->y = y;
|
|
Daniel P. Berrangé |
e1b58d |
rect->width = width;
|
|
Daniel P. Berrangé |
e1b58d |
rect->height = height;
|
|
Daniel P. Berrangé |
e1b58d |
}
|
|
Daniel P. Berrangé |
e1b58d |
--
|
|
Daniel P. Berrangé |
e1b58d |
2.43.0
|
|
Daniel P. Berrangé |
e1b58d |
|