* [PATCH] drm/gma500: Clean up errors in intel_gmbus.h
@ 2024-01-11 7:04 GuoHua Chen
0 siblings, 0 replies; only message in thread
From: GuoHua Chen @ 2024-01-11 7:04 UTC (permalink / raw
To: tzimmermann, airlied, maarten.lankhorst, daniel, mripard,
patrik.r.jakobsson
Cc: linux-kernel, dri-devel, GuoHua Chen
Fix the following errors reported by checkpatch:
ERROR: space prohibited after that '!' (ctx:BxW)
Signed-off-by: GuoHua Chen <chenguohua_716@163.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-11 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-11 7:04 [PATCH] drm/gma500: Clean up errors in intel_gmbus.h GuoHua Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).