2022-06-23 08:23:56

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] drm/amdkfd: Fix spelling mistake "mechanim" -> "mechanism"

There is a spelling mistake in a pr_debug message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
index 8805bd1eed37..f5f1368c0c54 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
@@ -914,7 +914,7 @@ static int kfd_mem_attach(struct amdgpu_device *adev, struct kgd_mem *mem,
ret = kfd_mem_attach_dmabuf(adev, mem, &bo[i]);
if (ret)
goto unwind;
- pr_debug("Employ DMABUF mechanim to enable peer GPU access\n");
+ pr_debug("Employ DMABUF mechanism to enable peer GPU access\n");
} else {
WARN_ONCE(true, "Handling invalid ATTACH request");
ret = -EINVAL;
--
2.35.3


2022-06-23 16:57:34

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH][next] drm/amdkfd: Fix spelling mistake "mechanim" -> "mechanism"

Applied. Thanks!

Alex

On Thu, Jun 23, 2022 at 4:12 AM Colin Ian King <[email protected]> wrote:
>
> There is a spelling mistake in a pr_debug message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> index 8805bd1eed37..f5f1368c0c54 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> @@ -914,7 +914,7 @@ static int kfd_mem_attach(struct amdgpu_device *adev, struct kgd_mem *mem,
> ret = kfd_mem_attach_dmabuf(adev, mem, &bo[i]);
> if (ret)
> goto unwind;
> - pr_debug("Employ DMABUF mechanim to enable peer GPU access\n");
> + pr_debug("Employ DMABUF mechanism to enable peer GPU access\n");
> } else {
> WARN_ONCE(true, "Handling invalid ATTACH request");
> ret = -EINVAL;
> --
> 2.35.3
>