On Wed, Aug 19, 2026 at 3:50 AM Prike Liang <[email protected]> wrote:
>
> Fix the inconsistent indenting warning for mes_userq_map().
>
> Fixes: d0827dda8fa7 ("drm/amdgpu/mes: refactor the 
> amdgpu_mes_alloc/free_proc|gang()")
> Reported-by: kernel test robot <[email protected]>
> Closes: 
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Prike Liang <[email protected]>

Reviewed-by: Alex Deucher <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c 
> b/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
> index 80f84bc56664..cfee0a8a4b1e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
> +++ b/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
> @@ -146,7 +146,7 @@ static int mes_userq_map(struct amdgpu_usermode_queue 
> *queue)
>         queue_input.wptr_mc_addr = queue->wptr_obj.gpu_addr;
>
>         if (mes->use_rs64mem) {
> -                if (!uq_mgr->proc_ctx_allocated) {
> +               if (!uq_mgr->proc_ctx_allocated) {
>                         r = amdgpu_mes_alloc_proc_ctx_index(mes, 
> &uq_mgr->proc_ctx_array_index);
>                         if (r) {
>                                 DRM_ERROR("Failed to allocate userq process 
> index err:%d\n", r);
> --
> 2.34.1
>

Reply via email to