-
- Downloads
drm/amdgpu: Fix complex macros error
Fixes the below: ERROR: Macros with complex values should be enclosed in parentheses WARNING: macros should not use a trailing semicolon +#define amdgpu_inc_vram_lost(adev) atomic_inc(&((adev)->vram_lost_counter)); Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com> Signed-off-by:Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu.h 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h 4 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
Loading
Please register or sign in to comment