drm/amdgpu/display: remove trailing semicolon in macro definition
Subsystems (2)
PATCH 1/1 drm/amdgpu/display: remove trailing semicolon in macro definition
From: Tom Rix <[email protected]>
The macro use will already have a semicolon.
Signed-off-by Tom Rix <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -1
@@ -1213,7 +1213,7 @@ int emu_soc_asic_init(struct amdgpu_device *adev);#define amdgpu_asic_update_umd_stable_pstate (adev, enter) \ ((adev)->asic_funcs->update_umd_stable_pstate ? (adev)->asic_funcs->update_umd_stable_pstate((adev), (enter)) : 0) -#define amdgpu_inc_vram_lost (adev) atomic_inc(&((adev)->vram_lost_counter)); +#define amdgpu_inc_vram_lost (adev) atomic_inc(&((adev)->vram_lost_counter))/* Common functions */ bool amdgpu_device_has_job_running (struct amdgpu_device *adev);
Signature · 6 lines
2.18.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 27.11.20 um 17:26 schrieb [email protected]:
Quoted 5 lines
From: Tom Rix <[email protected]>
The macro use will already have a semicolon.
Signed-off-by Tom Rix <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu.h int emu_soc_asic_init(struct amdgpu_device *adev); · line 1219
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-1@@ -1213,7 +1213,7 @@ int emu_soc_asic_init(struct amdgpu_device *adev);#define amdgpu_asic_update_umd_stable_pstate (adev, enter) \ ((adev)->asic_funcs->update_umd_stable_pstate ? (adev)->asic_funcs->update_umd_stable_pstate((adev), (enter)) : 0) -#define amdgpu_inc_vram_lost (adev) atomic_inc(&((adev)->vram_lost_counter)); +#define amdgpu_inc_vram_lost (adev) atomic_inc(&((adev)->vram_lost_counter))/* Common functions */ bool amdgpu_device_has_job_running (struct amdgpu_device *adev);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx