drm/amdgpu: Clean up errors in amdgpu_vf_error.h
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h +2 -2
@@ -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 {
Signature · 1 line
2.17.1