[PATCH] drm/amdgpu: fix inconsistent indenting in amdgpu_gfx_ring_preempt_ib

2026-05-13 Thread Leonardo Cesar
Fixes a whitespace indentation issue reported by the smatch static
checker tool.

Reported-by: kernel test robot 
Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Leonardo César 
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
index f7ebead09..d213a0cdd 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
@@ -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);
-- 
2.43.0



Re: [PATCH] drm/amdgpu: fix inconsistent indenting in amdgpu_gfx_ring_preempt_ib

2026-05-12 Thread Christian König
On 5/12/26 16:01, Leonardo Cesar wrote:
> Fixes a whitespace indentation issue reported by the smatch static
> checker tool.
> 
> Reported-by: kernel test robot 
> Closes: 
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Leonardo César 

Reviewed-by: Christian König 

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
> index f7ebead09..d213a0cdd 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
> @@ -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);