summary refs log tree commit diff stats
path: root/hw/display/qxl.c
diff options
context:
space:
mode:
authorHyman Huang <yong.huang@smartx.com>2024-12-20 02:46:57 +0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-31 21:21:34 +0100
commitc6f59e3b68abefc1f6942d4b4e3063d96d903b27 (patch)
treeff4fd82ec107a34ddf0bb2b8fc246bf46ead924e /hw/display/qxl.c
parent79b6a98587c65c8b8fdde8eb778396f1fc98a852 (diff)
downloadfocaccia-qemu-c6f59e3b68abefc1f6942d4b4e3063d96d903b27.tar.gz
focaccia-qemu-c6f59e3b68abefc1f6942d4b4e3063d96d903b27.zip
hw/display/qxl: Do not use C99 // comments
Do not use C99 // comments to fix the checkpatch.pl error

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <7d287eaf00e0b52b600431efd350b15a0b5b3544.1734633496.git.yong.huang@smartx.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/display/qxl.c')
-rw-r--r--hw/display/qxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index f54a15e740..2efdc77e61 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -50,7 +50,7 @@
 #undef ALIGN
 #define ALIGN(a, b) (((a) + ((b) - 1)) & ~((b) - 1))
 
-#define PIXEL_SIZE 0.2936875 //1280x1024 is 14.8" x 11.9" 
+#define PIXEL_SIZE 0.2936875 /* 1280x1024 is 14.8" x 11.9" */
 
 #define QXL_MODE(_x, _y, _b, _o)                  \
     {   .x_res = _x,                              \