Messages in this thread Patch in this message | | | Date | Thu, 24 Aug 2023 15:36:01 +0800 (GMT+08:00) | From | "XueBing Chen" <> | Subject | [PATCH] drm/amdgpu: Clean up errors in amdgpu_vf_error.h |
| |
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 | |