diff mbox series

[v2,1/2] qxl: Do not use C99 // comments

Message ID 155c8974fd72403b9b32d3e2827850b7f08937f3.1734695085.git.yong.huang@smartx.com (mailing list archive)
State New
Headers show
Series [v2,1/2] qxl: Do not use C99 // comments | expand

Commit Message

Hyman Huang Dec. 20, 2024, 11:45 a.m. UTC
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>
---
 hw/display/qxl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index 949949d374..ae2d983299 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,                              \