drm/amdgpu/mes: fix the inconsistent indenting for mes_userq_map()
Subsystems (2)
PATCH 1/1 drm/amdgpu/mes: fix the inconsistent indenting for mes_userq_map()
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]>
Signed-off-by Prike Liang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c +1 -1
@@ -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);
Signature · 1 line
2.34.1
Quoted 7 lines · Prike Liang
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]>Signed-off-by Prike Liang <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/mes_userqueue.c +1
-2@@ -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