mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/amdkfd: delete stray tab in kfd_dbg_set_mes_debug_mode()
@ 2025-03-10 10:47 Dan Carpenter
  2025-03-10 15:03 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2025-03-10 10:47 UTC (permalink / raw)
  To: Felix Kuehling
  Cc: Alex Deucher, Christian König, David Airlie, Simona Vetter,
	amd-gfx, dri-devel, linux-kernel, kernel-janitors

These lines are indented one tab more than they should be.  Delete
the stray tabs.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 drivers/gpu/drm/amd/amdkfd/kfd_debug.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c
index 12456c61ffa5..ba99e0f258ae 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c
@@ -357,12 +357,12 @@ int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en)
 		return 0;
 
 	if (!pdd->proc_ctx_cpu_ptr) {
-			r = amdgpu_amdkfd_alloc_gtt_mem(adev,
-				AMDGPU_MES_PROC_CTX_SIZE,
-				&pdd->proc_ctx_bo,
-				&pdd->proc_ctx_gpu_addr,
-				&pdd->proc_ctx_cpu_ptr,
-				false);
+		r = amdgpu_amdkfd_alloc_gtt_mem(adev,
+			AMDGPU_MES_PROC_CTX_SIZE,
+			&pdd->proc_ctx_bo,
+			&pdd->proc_ctx_gpu_addr,
+			&pdd->proc_ctx_cpu_ptr,
+			false);
 		if (r) {
 			dev_err(adev->dev,
 			"failed to allocate process context bo\n");
-- 
2.47.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amdkfd: delete stray tab in kfd_dbg_set_mes_debug_mode()
  2025-03-10 10:47 [PATCH] drm/amdkfd: delete stray tab in kfd_dbg_set_mes_debug_mode() Dan Carpenter
@ 2025-03-10 15:03 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2025-03-10 15:03 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Felix Kuehling, Alex Deucher, Christian König, David Airlie,
	Simona Vetter, amd-gfx, dri-devel, linux-kernel, kernel-janitors

Applied.  thanks!

On Mon, Mar 10, 2025 at 6:48 AM Dan Carpenter <dan.carpenter@linaro.org> wrote:
>
> These lines are indented one tab more than they should be.  Delete
> the stray tabs.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_debug.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c
> index 12456c61ffa5..ba99e0f258ae 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c
> @@ -357,12 +357,12 @@ int kfd_dbg_set_mes_debug_mode(struct kfd_process_device *pdd, bool sq_trap_en)
>                 return 0;
>
>         if (!pdd->proc_ctx_cpu_ptr) {
> -                       r = amdgpu_amdkfd_alloc_gtt_mem(adev,
> -                               AMDGPU_MES_PROC_CTX_SIZE,
> -                               &pdd->proc_ctx_bo,
> -                               &pdd->proc_ctx_gpu_addr,
> -                               &pdd->proc_ctx_cpu_ptr,
> -                               false);
> +               r = amdgpu_amdkfd_alloc_gtt_mem(adev,
> +                       AMDGPU_MES_PROC_CTX_SIZE,
> +                       &pdd->proc_ctx_bo,
> +                       &pdd->proc_ctx_gpu_addr,
> +                       &pdd->proc_ctx_cpu_ptr,
> +                       false);
>                 if (r) {
>                         dev_err(adev->dev,
>                         "failed to allocate process context bo\n");
> --
> 2.47.2
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-10 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-10 10:47 [PATCH] drm/amdkfd: delete stray tab in kfd_dbg_set_mes_debug_mode() Dan Carpenter
2025-03-10 15:03 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®