drm/radeon/evergreen_cs: Clean up errors in evergreen_cs.c
authorXueBing Chen <chenxb_99091@126.com>
Thu, 11 Jan 2024 09:40:13 +0000 (09:40 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 20:40:32 +0000 (15:40 -0500)
Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)
ERROR: spaces required around that '>' (ctx:VxV)
ERROR: spaces required around that '<' (ctx:VxV)

Signed-off-by: XueBing Chen <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_cs.c

index 0de79f3a7e3ffc4f7e423d8448970e4106b55d3a..1fe6e0d883c79be07817a3cf582f128c9d5d97dd 100644 (file)
@@ -33,8 +33,8 @@
 #include "evergreen_reg_safe.h"
 #include "cayman_reg_safe.h"
 
-#define MAX(a,b)                   (((a)>(b))?(a):(b))
-#define MIN(a,b)                   (((a)<(b))?(a):(b))
+#define MAX(a, b)                   (((a) > (b)) ? (a) : (b))
+#define MIN(a, b)                   (((a) < (b)) ? (a) : (b))
 
 #define REG_SAFE_BM_SIZE ARRAY_SIZE(evergreen_reg_safe_bm)