mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: Clean up errors in amdgpu_vf_error.h
@ 2023-08-24  7:36 XueBing Chen
  0 siblings, 0 replies; only message in thread
From: XueBing Chen @ 2023-08-24  7:36 UTC (permalink / raw)
  To: alexander.deucher, airlied, daniel; +Cc: amd-gfx, dri-devel, linux-kernel

Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: XueBing Chen <chenxuebing@jari.cn>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h
index 6436bd053325..7a58bd8cea0a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h
@@ -24,8 +24,8 @@
 #ifndef __VF_ERROR_H__
 #define __VF_ERROR_H__
 
-#define AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(c,f)    (((c & 0xFFFF) << 16) | (f & 0xFFFF))
-#define AMDGIM_ERROR_CODE(t,c)       (((t&0xF)<<12)|(c&0xFFF))
+#define AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(c, f)    (((c & 0xFFFF) << 16) | (f & 0xFFFF))
+#define AMDGIM_ERROR_CODE(t, c)       (((t&0xF)<<12)|(c&0xFFF))
 
 /* Please keep enum same as AMD GIM driver */
 enum AMDGIM_ERROR_VF {
-- 
2.17.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-24  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24  7:36 [PATCH] drm/amdgpu: Clean up errors in amdgpu_vf_error.h XueBing Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®