mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages
@ 2023-05-22  9:02 Colin Ian King
  2023-05-22 15:01 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2023-05-22  9:02 UTC (permalink / raw)
  To: Alex Deucher, Christian König, Xinhui.Pan, David Airlie,
	Daniel Vetter, amd-gfx, dri-devel
  Cc: kernel-janitors, linux-kernel

There are a couple of spelling mistakes, one in a dev_info message
and the other in a dev_debug message. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 59b8b26e2caf..789cc16e1be7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -1007,7 +1007,7 @@ int psp_spatial_partition(struct psp_context *psp, int mode)
 	cmd->cmd_id = GFX_CMD_ID_SRIOV_SPATIAL_PART;
 	cmd->cmd.cmd_spatial_part.mode = mode;
 
-	dev_info(psp->adev->dev, "Requesting %d paritions through PSP", mode);
+	dev_info(psp->adev->dev, "Requesting %d partitions through PSP", mode);
 	ret = psp_cmd_submit_buf(psp, NULL, cmd, psp->fence_buf_mc_addr);
 
 	release_psp_cmd_buf(psp);
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
index daeb6bcc9245..e9586a0dc335 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
@@ -359,7 +359,7 @@ int amdgpu_xcp_open_device(struct amdgpu_device *adev,
 						file_priv->minor->index, i);
 				return -ENOENT;
 			}
-			dev_dbg(adev->dev, "renderD%d partition %d openned!",
+			dev_dbg(adev->dev, "renderD%d partition %d opened!",
 					file_priv->minor->index, i);
 			fpriv->xcp_id = i;
 			break;
-- 
2.30.2


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

* Re: [PATCH][next] drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages
  2023-05-22  9:02 [PATCH][next] drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages Colin Ian King
@ 2023-05-22 15:01 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2023-05-22 15:01 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Alex Deucher, Christian König, Xinhui.Pan, David Airlie,
	Daniel Vetter, amd-gfx, dri-devel, kernel-janitors, linux-kernel

Applied.  Thanks!

On Mon, May 22, 2023 at 5:02 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There are a couple of spelling mistakes, one in a dev_info message
> and the other in a dev_debug message. Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 59b8b26e2caf..789cc16e1be7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -1007,7 +1007,7 @@ int psp_spatial_partition(struct psp_context *psp, int mode)
>         cmd->cmd_id = GFX_CMD_ID_SRIOV_SPATIAL_PART;
>         cmd->cmd.cmd_spatial_part.mode = mode;
>
> -       dev_info(psp->adev->dev, "Requesting %d paritions through PSP", mode);
> +       dev_info(psp->adev->dev, "Requesting %d partitions through PSP", mode);
>         ret = psp_cmd_submit_buf(psp, NULL, cmd, psp->fence_buf_mc_addr);
>
>         release_psp_cmd_buf(psp);
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
> index daeb6bcc9245..e9586a0dc335 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
> @@ -359,7 +359,7 @@ int amdgpu_xcp_open_device(struct amdgpu_device *adev,
>                                                 file_priv->minor->index, i);
>                                 return -ENOENT;
>                         }
> -                       dev_dbg(adev->dev, "renderD%d partition %d openned!",
> +                       dev_dbg(adev->dev, "renderD%d partition %d opened!",
>                                         file_priv->minor->index, i);
>                         fpriv->xcp_id = i;
>                         break;
> --
> 2.30.2
>

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

end of thread, other threads:[~2023-05-22 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22  9:02 [PATCH][next] drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages Colin Ian King
2023-05-22 15:01 ` 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®