[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240111070406.9430-1-chenguohua_716@163.com>
Date: Thu, 11 Jan 2024 07:04:06 +0000
From: GuoHua Chen <chenguohua_716@....com>
To: tzimmermann@...e.de,
	airlied@...il.com,
	maarten.lankhorst@...ux.intel.com,
	daniel@...ll.ch,
	mripard@...nel.org,
	patrik.r.jakobsson@...il.com
Cc: linux-kernel@...r.kernel.org,
	dri-devel@...ts.freedesktop.org,
	GuoHua Chen <chenguohua_716@....com>
Subject: [PATCH] drm/gma500: Clean up errors in intel_gmbus.h
Fix the following errors reported by checkpatch:
ERROR: space prohibited after that '!' (ctx:BxW)
Signed-off-by: GuoHua Chen <chenguohua_716@....com>
---
 drivers/gpu/drm/gma500/intel_gmbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/gma500/intel_gmbus.c b/drivers/gpu/drm/gma500/intel_gmbus.c
index aa45509859f2..769e47480e11 100644
--- a/drivers/gpu/drm/gma500/intel_gmbus.c
+++ b/drivers/gpu/drm/gma500/intel_gmbus.c
@@ -39,7 +39,7 @@
 #define _wait_for(COND, MS, W) ({ \
 	unsigned long timeout__ = jiffies + msecs_to_jiffies(MS);	\
 	int ret__ = 0;							\
-	while (! (COND)) {						\
+	while (!(COND)) {						\
 		if (time_after(jiffies, timeout__)) {			\
 			ret__ = -ETIMEDOUT;				\
 			break;						\
-- 
2.17.1
Powered by blists - more mailing lists