diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-09-30 11:55:11 +0530 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-05 17:59:35 -0400 |
| commit | 2b6b29f33fddc8d61527d5f5cf1dec9e1821b16c (patch) | |
| tree | 35c7d9c4ffffcbd88336199335ada65c456f843d /drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h | |
| parent | dc427a473e5d119232ddb27530920d9796cdea70 (diff) | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Pan, Xinhui" <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h')
0 files changed, 0 insertions, 0 deletions