diff mbox series

[next] drm/amdkfd: Fix spelling mistake "mechanim" -> "mechanism"

Message ID 20220623081219.19291-1-colin.i.king@gmail.com (mailing list archive)
State New, archived
Headers show
Series [next] drm/amdkfd: Fix spelling mistake "mechanim" -> "mechanism" | expand

Commit Message

Colin Ian King June 23, 2022, 8:12 a.m. UTC
There is a spelling mistake in a pr_debug message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Deucher June 23, 2022, 4:49 p.m. UTC | #1
Applied.  Thanks!

Alex

On Thu, Jun 23, 2022 at 4:12 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a pr_debug message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  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
>
diff mbox series

Patch

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;