[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <706285a.86e.18ad556b0e1.Coremail.chenguohua@jari.cn>
Date: Wed, 27 Sep 2023 14:32:23 +0800 (GMT+08:00)
From: chenguohua@...i.cn
To: linux@...linux.org.uk, prathubaronia2011@...il.com
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: [PATCH] vidio: Clean up errors in serial.h
Fix the following errors reported by checkpatch:
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: GuoHua Cheng <chenguohua@...i.cn>
---
include/linux/amba/clcd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/amba/clcd.h b/include/linux/amba/clcd.h
index b6e0cbeaf533..64df8235d9cc 100644
--- a/include/linux/amba/clcd.h
+++ b/include/linux/amba/clcd.h
@@ -244,7 +244,7 @@ static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var
var->xres_virtual = var->xres = (var->xres + 15) & ~15;
var->yres_virtual = var->yres = (var->yres + 1) & ~1;
-#define CHECK(e,l,h) (var->e < l || var->e > h)
+#define CHECK(e, l, h) (var->e < l || var->e > h)
if (CHECK(right_margin, (5+1), 256) || /* back porch */
CHECK(left_margin, (5+1), 256) || /* front porch */
CHECK(hsync_len, (5+1), 256) ||
--
2.17.1
Powered by blists - more mailing lists