Skip to contentSkip to conversation

drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages

PATCH Applied Colin Ian King 2 participants 2 messages May 22, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix a couple of spelling mistakes in info and debug messages

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

---
 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(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1 -1
index 59b8b26e2caf..789cc16e1be7 100644
@@ -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);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c +1 -1
index daeb6bcc9245..e9586a0dc335 100644
@@ -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;
Signature · 1 line
2.30.2
Applied
#1 lore raw

Applied. Thanks!

Quoted 39 lines · Colin Ian King

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

---
 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(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +1 -1
index 59b8b26e2caf..789cc16e1be7 100644
@@ -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);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c +1 -2
index daeb6bcc9245..e9586a0dc335 100644
@@ -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