drm/amdgpu: fix inconsistent indenting in amdgpu_gfx_ring_preempt_ib
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix inconsistent indenting in amdgpu_gfx_ring_preempt_ib
Fixes a whitespace indentation issue reported by the smatch static checker tool.
Reported-by kernel test robot <[email protected]>
Signed-off-by Leonardo César <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1 -1
@@ -2725,7 +2725,7 @@ int amdgpu_gfx_ring_preempt_ib(struct amdgpu_ring *ring) }/* deassert preemption condition */ -amdgpu_ring_set_preempt_cond_exec (ring, true); +amdgpu_ring_set_preempt_cond_exec (ring, true);if (i >= adev->usec_timeout) {DRM_ERROR ("ring %d failed to preempt ib\n" , ring->idx);
Signature · 1 line
2.43.0
Quoted 6 lines · Leonardo Cesar
Fixes a whitespace indentation issue reported by the smatch static checker tool.
Reported-by kernel test robot <[email protected]>Signed-off-by Leonardo César <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1
-1@@ -2725,7 +2725,7 @@ int amdgpu_gfx_ring_preempt_ib(struct amdgpu_ring *ring) }/* deassert preemption condition */ -amdgpu_ring_set_preempt_cond_exec (ring, true); +amdgpu_ring_set_preempt_cond_exec (ring, true);if (i >= adev->usec_timeout) {DRM_ERROR ("ring %d failed to preempt ib\n" , ring->idx);