Skip to contentSkip to conversation

drm/amdgpu: fix inconsistent indenting in amdgpu_gfx_ring_preempt_ib

PATCH In review Leonardo Cesar 2 participants 2 messages May 12 – May 13

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index f7ebead09..d213a0cdd 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Leonardo Cesar

Fixes a whitespace indentation issue reported by the smatch static checker tool.

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
index f7ebead09..d213a0cdd 100644
@@ -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);